0
hardik's Avatar, Join Date: Aug 2007
Light Poster
well, if it makes feel good at all, this problem is not a homework problem, nor i am a student at all, also i see how simply you have solved it when i spent almost half night reading about strtok and delims, i missed a simple thing of copying string and making a simple loop, i guess i complicated it too much, but in anycase your help is not used in some classroom to get a better grade, thank you very much for ur directions
0
hardik's Avatar, Join Date: Aug 2007
Light Poster
i have a question though, i knw strcpy will not allocate the memory for the copy for you so u used strdup, but is there an easier way to it without strdup? i was just wondering