????? HELP!!! what is wring with this code? ???????

Michael Burgett burgett at galaxy.COM
Sat Oct 8 00:48:52 AEST 1988


In article <456 at mrsvr.UUCP> ssa at mrsvr.UUCP (6607) writes:
>
>
>"test.c", line 7: warning: illegal combination of pointer and integer, op =
>
>	while((tokptr=strtok(strptr," \t")) != NULL ){
>
>	So, what is wrong???

in the copy of strings.h that we have here, strtok isn't declared, try
adding a

char *strtok();

just before main.  ;-)


Mike Burgett

adobe!burgett at decwrl.dec.com



More information about the Comp.unix.questions mailing list