Date: Sun, 1 Sep 1996 10:04:21 +0200 (IST) From: Eli Zaretskii To: Matthews Cc: djgpp AT delorie DOT com Subject: Re: HELP MEEEEEE!!!! In-Reply-To: <01bb9627.474de9c0$146332cc@robmatthews> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 30 Aug 1996, Matthews wrote: > 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() Please post the exact text of the error message. That doesn't sound like a message that comes from gcc.