I am scanning names from a text file and placing the last name in one array and the first name in another. I need to concatenate the first name to the end of the last and place it in a new array.

I have tried several different combinations of strcat &strcpy & no luck.

One thing I have tried after placing the names in the arrays is

for(i=0;i<max;++i)
strcat(last[i],first[i]);
strcpy(name[i],last[i]);

Any suggestions?