delorie.com/archives/browse.cgi | search |
Newsgroups: | comp.lang.c++,comp.os.msdos.djgpp |
From: | Lee James <sy2jaml AT doc DOT ntu DOT ac DOT uk> |
Subject: | Re: CIN COUT |
In-Reply-To: | <331BC0D5.5CB@aracnet.com> |
Message-ID: | <Pine.SUN.3.91.970307162118.12355B-100000@john> |
Sender: | news AT doc DOT ntu DOT ac DOT uk |
Organization: | The Nottingham Trent University, DOC. |
References: | <331BC0D5 DOT 5CB AT aracnet DOT com> |
Mime-Version: | 1.0 |
Date: | Fri, 7 Mar 1997 16:22:19 GMT |
Lines: | 21 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
On Mon, 3 Mar 1997, Brian wrote: > Can Someone please tell me what is wrong with the following program. > I try to compile it on djgpp but I get 'undeclared' or something error. > Maybe I don't have the right iostream.h file? > #include <iostream.h> > main() > { > cout << "Hello, World"; > } > Thanks in advance. - bardito AT aracnet DOT com > > Try putting in the word void before main It does help...
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |