In my program, I need put a CString variable in a MessageBox. I use the following code:
messagebox("hi" + txt);
But I get the following error message:
error C2678: binary '+' : no operator found which takes a left-hand operand of type 'const char [3]' (or there is no acceptable conversion)