www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/31/16:03:48

Xref: news2.mv.net comp.os.msdos.djgpp:8105
From: "Weiqi Gao" <weiqigao AT crl DOT com>
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 <robmatthews AT netroute DOT net> 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 <stdio.h>
> 
> 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
> 
> 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019