Here is what I basically need:
I need to be able to take in say 2 words on 10 lines
each word can be a maximum of 30 chars
heres what I have but it seems incorrect:
Code:char **c2names;
c2names = (char **) malloc(amount_of_lines * sizeof(char *));
for(i = 0; i < amount_of_lines; i++)
{
c2names[i] =(char *) malloc(30 * sizeof(char));
}