strcat takes a constant string pointer, and appends it it to the end of a non-constant string pointer.
A couple of calls should get you near where you want to be.
For the other part, try "itoa"
Or roll the whole lot into one with sprintf
strcat takes a constant string pointer, and appends it it to the end of a non-constant string pointer.
A couple of calls should get you near where you want to be.
For the other part, try "itoa"
Or roll the whole lot into one with sprintf