View Single Post
Old 04-14-2004, 11:22 PM   #4 (permalink)
joe_bruin
LOAD "*",8,1
 
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
joe_bruin is on a distinguished road
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.
joe_bruin is offline   Reply With Quote