use the function atoi(). (ascii to int)
for example:
CString string = "40";
int zahl = atoi(string); // converts string to int
...this should help you.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 8 of 8
Threaded View
|
Click Here to Expand Forum to Full Width |