Quote:
Originally posted by Valmont
These form the very basics of proper string handling.
|
wow, you seem to have missed the point entirely. the original poster said:
Quote:
|
And I need to add string1 to string3, then add string 2 to string 3 (everything that was just added from string 1), Using a for or while loop.
|
this is obviously a beginning level c/c++ question, in which strcpy is not an option.
btw, your tutorial forgets to check for allocation failure and does not deallocate szGreetAll.