From: "Felix Althaus" Newsgroups: comp.os.msdos.djgpp References: <3dc0270e$1 AT news DOT swissonline DOT ch> Subject: Re: problems with cout on Win98 Date: Thu, 31 Oct 2002 20:11:30 +0100 Lines: 42 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 217.162.185.148 Message-ID: <3dc1800d$1@news.swissonline.ch> X-Trace: news.swissonline.ch 1036091405 217.162.185.148 (31 Oct 2002 20:10:05 +0200) X-Complaints-To: abuse AT swissonline DOT ch To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello again I changed the code to the following: #include using namespace std int main() { cout. << "Hallo"; return 0; } But now, I get a lot of error messages (only a part of them is shown): c:/djgpp/lang/cxx/3.2/bits/stlalgobase.h:153: `__b' undeclared (first use this function) c:/djgpp/lang/cxx/3.2/bits/stlalgobase.h: In function `bool std::lexicographical_compare(_InputIter1, _InputIter1, _InputIter2, _InputIter2) [with _InputIter1 = const signed char*, _InputIter2 = const signed char*]': c:/djgpp/lang/cxx/3.2/bits/stlalgobase.h:805: instantiated from here c:/djgpp/lang/cxx/3.2/bits/stlalgobase.h:745: `__last2' undeclared (first use this function) c:/djgpp/lang/cxx/3.2/bits/stlalgobase.h:745: `__first2' undeclared (first use this function) Concerning old programming style: On our school we work with the C++ Primer Plus (by S. Prata) if you know it, and there it is coded like I do. Many thanks for your help mfg Felix