From: "Celia T." Newsgroups: comp.os.msdos.djgpp Subject: Newbie Getting A Dozen Error "Undeclared" Messages in Program Date: Fri, 21 Jan 2000 18:58:33 -0800 Organization: MindSpring Enterprises Lines: 19 Message-ID: <86b6f4$mlr$1@nntp6.atl.mindspring.net> NNTP-Posting-Host: a5.79.73.05 X-Server-Date: 22 Jan 2000 02:59:48 GMT X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello! I am learning C++ using Jesse Liberty's book, _C++ from Scratch_. Upon compiling my first program, I got a ton of error messages! Gasp! Is this because Liberty wrote the program to be used with the Microsoft Visual C++ compiler? Here are some of the error messages: Line 5: std::cout << "Associates, Inc. Version 0.2\n " << std::end1; Error message: Error: '::end1' undeclared (first use here) Line 40: std::cout << "How many positons? ("; Error message: Error 'how' undeclared (first use this function) If anyone can set me straight, thanks!