Light Poster
22Aug2007,18:21   #11
hardik's Avatar
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
Light Poster
22Aug2007,22:40   #12
hardik's Avatar
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