X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Troubles with DJGPP Date: 5 Feb 2002 03:16:28 GMT Organization: Cornell University Lines: 33 Sender: asu1 AT cornell DOT invalid (on pool-141-149-206-122.syr.east.verizon.net) Message-ID: References: <200202050235 DOT NAA23031 AT sprint DOT tenix DOT com> NNTP-Posting-Host: pool-141-149-206-122.syr.east.verizon.net X-Trace: news01.cit.cornell.edu 1012878988 6383 141.149.206.122 (5 Feb 2002 03:16:28 GMT) X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu NNTP-Posting-Date: 5 Feb 2002 03:16:28 GMT User-Agent: Xnews/L5 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com HAINE David wrote in news:200202050235.NAA23031 @sprint.tenix.com: > I purchased "SAMS Teach Yourself C++ In 24 Hours" Edition 2 > with the supplied DJGPP and associated software. > > I have found that the use of 'end1;' causes errors during > compiling. > If I use "\n"; it works fine. I have this problem when using > Windows ME or Windows 98. What do you mean by "causes problems"? You need to be more specific. Note that it is endl not end1 ... that is, the last character should be a lowercase L rather than the digit one. try compiling #include int main(void) { std::cout << "Hello!" << std::endl; return 0; } using gpp -Wall -o hello.exe hello.c and report any specific problems you encounter. Sinan.