I want to use CString in win32. What header files should I include to use CString?
I want to use CString in win32. What header files should I include to use CString?
the best things in life are simple.
Then you want to learn MFC.
Or you could just learn string instead.
gg
You are suppose to include atlstr.h for non-MFC version of CString. and cstringt.h for MFC version. Then you need to use the member function GetBuffer() to get the pointer to the actual string stored internally or else you get the hex address of the data.
While you're breakin' down my back n'
I been rackin' out my brain
It don't matter how we make it
'Cause it always ends the same
You can push it for more mileage
But your flaps r' wearin' thin
And I could sleep on it 'til mornin'
But this nightmare never ends
Don't forget to call my lawyers
With ridiculous demands
An you can take the pity so far
But it's more than I can stand
'Cause this couchtrip's gettin' older
Tell me how long has it been
'Cause 5 years is forever
An you haven't grown up yet
-- You Could Be Mine - Guns N' Roses
Include #windows.h
Kuphryn