How do I convert an integer to a string? Easiest coded example will be awarded.
I have an integer, p
want to convert p to string and send it using the following send command:
send(s, STRING, strlen(STRING), 0)
where s is a socket and STRING is int p converted to a string.
Please provide the correct code to send this int converted to string, as short and precise as possible.