How to convert integer to string ??? Please help !!!
C / C++ / MFC
3
Posts
2
Posters
0
Views
1
Watching
-
I need convert a integer in range 0-9999 to string in format of 4 bytes , for example: 34 -> "0034" What can I do ???:confused:
-
I need convert a integer in range 0-9999 to string in format of 4 bytes , for example: 34 -> "0034" What can I do ???:confused:
char string[1024]; sprintf(string, "%04d", 1); printf("%s", string); // 0001