www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/04/22:31:35

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
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: <Xns91ABE29616701asu1cornelledu@132.236.56.8>
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 <david DOT haine AT tenix DOT com> 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 <iostream>

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019