Q: How to convert a 'char*' to 'CString'?
A: Use either the constructor of 'CString' or its assigment operator:
orCode:char* str = "Hello";
CString cs(str);
<br><br>Code:CString cs;
cs = str;
Printable View
Q: How to convert a 'char*' to 'CString'?
A: Use either the constructor of 'CString' or its assigment operator:
orCode:char* str = "Hello";
CString cs(str);
<br><br>Code:CString cs;
cs = str;