Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - How does c++ convert int data into string data?
How does c++ convert int data into string data?
Use the function itoa:

char*itoa(intvalue,char*string,intra dix);

Int values are converted into integers, and char *string is converted into character arrays for storage.

Char * can convert strings;

Please accept, thank you, you can ask if you don't understand.