C++应该没有这个函数,说的是Format是在MFC程序里看见的

  Format是CString字符串类的成员函数CString::Format( LPCTSTR lpszFormat, ... );

  用法很简单,就和C语言里的printf函数一样

  比如:

  int count = 3;

  CString str;

  str.Format(“Count is %d”,count);

  这样str就变成了:Count is 3

相关文章:

  • 2022-01-16
  • 2021-11-15
  • 2021-12-11
  • 2022-12-23
  • 2022-12-23
  • 2021-10-16
  • 2022-02-15
猜你喜欢
  • 2022-12-23
  • 2021-09-23
  • 2021-06-21
  • 2022-03-07
  • 2022-12-23
  • 2022-12-23
  • 2021-07-20
相关资源
相似解决方案