ok here is the code i made

Code:
#include <stning.h>
char *foo = " Charlotte *NC*is*a*really*cool*place*to*work*and*play";
{
     char delims[]="*";
     char *result = NULL;
     result = strtok ( str, delims );
     while ( result != NULL ) 
     {
           printf ("result is "\%s"\n", result );
           result = strtok (NULL, delims );
     }
}
can some one help me improve it?

Last edited by shabbir; 22Aug2007 at 21:25.. Reason: Code block