Home › Forums › C Programming › MFC: changing int to string › Reply To: MFC: changing int to string
February 4, 2006 at 7:55 pm
#3177
arun_raj7
Participant
You can use any of c functions in c++ or mfc as long as you include the correct headers.
Also I believe the correct syntax for that would be itoa(VartoShow,&ChatToConvert,10);
You use the ampersand character to point to the string, you cant automatically put a string into a function parameter in accordance to how c++ conducts itself.