↧
C++ – Print CString to cout
The following code shows you how to print CString to cout. #include "atlstr.h" #include <iostream> using namespace std; int main () { // Create a CString CString cStr =...
View ArticleC++ – Convert CString into int
You can use _wtoi() or _ttoi() to convert a CString into int. #include "atlstr.h" #include <iostream> using namespace std; int main () { // Create a CString with number CString intStr =...
View Article