Still stuck, please help
hi, quickly read my previous message:
:confused: How do I implement what Fordy recommended. And whats the parameters for the Strcpy()?
1 more quick thing, but the above is most important. Know any good sites for learning the finer side of Strings (all most bizarre to me coming from Java)... Something intermediate.
char* strcpy(char* destination ,const char* source)
copies null terminated string source to destination ( which must somehow have been previously allocated ( array/new/malloc)). destination is returned.
dont forget to add 1 to your memory allocation. This will account for the NULL that is added.