hello everyone,
this is a rather newbie question, but strings confuse me way too often.
i have a readFromTextFile() function
in which i read in a string array lines of text. string lines[6].
now i want to save each string to a char * variable.
i guess i will have to do malloc for each char* variable but then?
should i memcpy? strcpy? or am i completely of course here?
what should i do?
thank you for your help.
nass
Bookmarks