delorie.com/archives/browse.cgi | search |
From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: How do I use iostream? |
Date: | 10 Dec 2002 11:36:32 GMT |
Organization: | Aachen University of Technology (RWTH) |
Lines: | 22 |
Message-ID: | <at4jk0$4h8$1@nets3.rz.RWTH-Aachen.DE> |
References: | <1039517050 DOT 3df5c57a5be0d AT webmail DOT student DOT uu DOT se> |
NNTP-Posting-Host: | acp3bf.physik.rwth-aachen.de |
X-Trace: | nets3.rz.RWTH-Aachen.DE 1039520192 4648 137.226.32.75 (10 Dec 2002 11:36:32 GMT) |
X-Complaints-To: | abuse AT rwth-aachen DOT de |
NNTP-Posting-Date: | 10 Dec 2002 11:36:32 GMT |
Originator: | broeker@ |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Par Matsson <Par DOT Matsson DOT 3749 AT student DOT uu DOT se> wrote: > cout << "Hello!\n"; Bug. Your program, simple as it is, is not standard-compliant C++. Make that std::cout << "Hello!\n"; and you'll be getting somewhere. And update your C++ textbooks and tutorials --- they're probably outdated. > gxx hello.cc -o hello.exe This is the right version > gxx -c -Wall hello.cc This will work, too. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |