Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!ucbvax!rzsin.sin.ch!ivan From: ivan@rzsin.sin.ch (Ivan D. Reid) Newsgroups: comp.sys.atari.st Subject: Re help for a novice C programmer Message-ID: <307*ivan@rzsin.sin.ch> Date: 29 Aug 89 08:17:05 GMT Organization: The Internet Lines: 31 *FRIVOLITY ON* In article <1758193@mtsg.ubc.ca> Peter_Lawrence_Jackson@MTSG.UBC.CA writes: >Help! I am a fortran programmer trying to learn C using the sozobon/dlibs >package. I can't get the compiler to work on the following hello world >program: Does anything work in Vancouver in the summertime? >#include >main() >{ >printf("hello world, its me!!!\n"); >} and Mike Vederman replied >Silly you! Of course you can't compile the program. The proper syntax for this >program is: >main() { > printf("hello world\n"); >} >(Note most compilers check to make sure that is all you can print 'hello >world') Actually, I think it's refusing to compile because of the spelling error! (or: Its refusal to work is due to the spelling error (B-{) Would that the mailer refused to send all the messages using "its" for "it's" and vice versa... idr (PS say Hi to all the frivollers on Forum for me, Peter) *FRIVOLITY OFF*