Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!munnari.oz.au!brolga!uqcspe!cs.uq.oz.au!warwick From: warwick@cs.uq.oz.au (Warwick Allison) Newsgroups: comp.sys.atari.st Subject: Re: Sozobon C starter question Message-ID: <899@uqcspe.cs.uq.oz.au> Date: 19 Apr 91 01:46:08 GMT References: <91107.154833JJL101@psuvm.psu.edu> <1991Apr17.143748.13488@hellgate.utah.edu> Sender: news@cs.uq.oz.au Reply-To: warwick@cs.uq.oz.au Lines: 22 >> I am getting an error which I am not sure why with this line: >> >> main( int argc, char **argy) >> >Sozobon expects this really arcane method of passing parameters. >In the above example, try: > main(argc, argy) > int argc; > char **argy; > { > } Yes. Sozobon is K&R C, while gcc is ANSI. Get gcc (if you have the space on your HD), as it is FAR superior, it even produces much fater code. Warwick. -- _--_|\ warwick@cs.uq.oz.au / * <-- Computer Science Department, \_.--._/ University of Queensland, v AUSTRALIA.