Storing Formatted Data in C
- by rangerdanger16
Im trying to add variables to a C char array. Also I have tried sprintf, but it is causing a few other issues within my program.
I am looking to do something like this:
char* age = "My age is = " + age;
I am planning on sending the char array to a socket using send()
Thanks