You can use atoi() on CStrings, they are automatically converted to a char* when you pass them to a function that wants a char* as a param.
How do I get a wchar_t* string from a C++ std::string? std::string.c_str() gives the char* string but I need the wide-charater version to pass into UNICODE version of Windows APIs.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results