How can I concatenate the following into a character string in the format "July 20, 2000" using the following variables?
'month' would equal "July", 'D' would equal 20, and 'Y' would equal 2000. Do I need to convert the int's to strings as well?
Thanks.
Code:
int D,Y;
char *month = new char[10];
'month' would equal "July", 'D' would equal 20, and 'Y' would equal 2000. Do I need to convert the int's to strings as well?
Thanks.