From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: problems with cout on Win98 Date: 31 Oct 2002 13:33:46 GMT Organization: Aachen University of Technology (RWTH) Lines: 14 Message-ID: References: <3dc0270e$1 AT news DOT swissonline DOT ch> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 1036071226 29762 137.226.32.75 (31 Oct 2002 13:33:46 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 31 Oct 2002 13:33:46 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Felix Althaus wrote: > C:\DJGPP>gxx testc.cpp > testc.cpp: In function `int main()': > testc.cpp:8: `cout' undeclared (first use this function) > What I am doing wrong? You're using outdated material to learn C++ from. GCC has (finally) caught up to the C++ standard (issued 1998 or 1999), but your code hasn't. Get a current textbook. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.