Warning C4840 non-portable use of class 'ATL::CStringT
- varargs and conversion operators in MFC CString
- Transparent Scrolling Credits
- CString Operations Relating to C-Style Strings
- A Scrolling Credits Dialog
- CAboutCtrl - Aboutbox Credits Control
- CMatrixCtrl - Matrix Credits Control
- my ticket
- Resizing Win32 Dialogs with DialogBox() and Dialog Resources
- QuickDialogs - A Library for Creating Dialogs Quickly and Elegantly
- Dialog Header
- Hacking the CPropertySheet
the soultion is:
CString str = TEXT("world");
CString buffer;
buffer.Format(TEXT("Hello, %s"), static_cast&20 lt;LPCTSTR>(str));
// alternatively:
// buffer.Format(TEXT("Hello, %s"), str.GetString());
when I compiled this project, I got this error message:.
CString str;
str.Format(_T("Could not find bitmap resource \"%s\". Be sure to assign the bitmap a QUOTED resource name"), m_arCredits.GetAt(n).Mid(2));
AfxMessageBox(str);
the solution is:
CString kindOfFruit = _T("bananas");
int howmany = 25;
_tprintf_s(_T("You have %d %s\n"), howmany, (LPCTSTR)kindOfFruit);
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
No comments:
Post a Comment