Nov 29, 2011 at 6:34am
You use strcpy like this strcpy(firstPerson.firstName, "Tom");
or make your life easier by using std::string instead of char arrays
Nov 29, 2011 at 7:35am
Thanks for the responses Peter and Andy.
Last edited on Nov 29, 2011 at 8:47am