CString - TechRepublic
Question
October 3, 2007 at 06:31 PM
sid_kraft

CString

by sid_kraft . Updated 18 years, 9 months ago

In C++, there exist several functions to manipulate strings that are declared as char var; The functions such as strncpy, to copy one string to another, strdot to convert a string to decimal format and many others. However, if a string is declared as a CString, a format allowed for C++, the same utilities will not work, one gets the message by the compiler that “cannot convert argument x from char to CString. Therefore, the question is, are there existing functions that are similar only that can be used on CString variabels? Please let me know, thanks, Sid Kraft.

This discussion is locked

All Comments