Quantcast
Channel: Eureka! » C++
Browsing all 2 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article



Image may be NSFW.
Clik here to view.

C++ – 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
Browsing all 2 articles
Browse latest View live




Latest Images