Xref: news2.mv.net comp.os.msdos.djgpp:8105 From: "Weiqi Gao" Newsgroups: comp.os.msdos.djgpp Subject: Re: HELP MELEE!!!! Date: 31 Aug 1996 14:12:15 GMT Organization: Spectrum Healthcare Services Lines: 34 Message-ID: <01bb9747$3d0aa2c0$010200c0@peking-1> References: <01bb9627.474de9c0$146332cc AT robmatthews> NNTP-Posting-Host: crl7.crl.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp You are definitely reading the wrong book, probably the learn C in 3 days series. Get a better book. -- Weiqi Gao weiqigao AT crl DOT com Matthews wrote in article <01bb9627.474de9c0$146332cc AT robmatthews>... > OK...here's my problem. I've really just started at this stuff (actually > jsut got C++ today)...so here's my question. I did a program...a VERY > SIMPLE program...straight from a book (yes I'm learning...I have to)...but > it doesn't want to work. Here is what the program says: > > #include > > void main() > { > puts( "-------MY PROGRAM WORKS!------"); > } > > And that's it...you think that it would work right...NOT REALLY! It keeps > giving me an error saying: > > Error: Function 'puts' should have a prototype in function main() > > And that's all...I can't figure out where I should be getting this > "prototype" from...PLEASE HELP SAVE THE MIND OF A VERGING PSYCOPATH! > RM > AKA > TU > >