Xref: utzoo comp.lang.c:13284 comp.std.c:423 comp.lang.scheme.c:24 comp.unix.questions:9742 Path: utzoo!attcan!uunet!husc6!mailrus!uflorida!haven!umd5!adm!smoke!gwyn From: gwyn@smoke.ARPA (Doug Gwyn ) Newsgroups: comp.lang.c,comp.std.c,comp.lang.scheme.c,comp.unix.questions Subject: Re: ????? HELP!!! what is wring with this code? ??????? Message-ID: <8649@smoke.ARPA> Date: 7 Oct 88 09:36:12 GMT References: <456@mrsvr.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 10 In article <456@mrsvr.UUCP> ssa@mrsvr.UUCP (6607) writes: >"test.c", line 7: warning: illegal combination of pointer and integer, op = >#include > while((tokptr=strtok(strptr," \t")) != NULL ){ doesn't declare strtok, so it is assumed to return int which is not compatible with the char * being assigned into. was invented by Berkeley without regard for existing practice. is the official standard header for the str* functions, and it does declare strtok.