delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/09/17:00:05

From: rendeg AT my-dejanews DOT com (Rennie deGraaf)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: What is ANSI C++?
Date: 9 Jun 2001 13:45:28 -0700
Organization: http://groups.google.com/
Lines: 12
Message-ID: <7cad4b2a.0106091245.27470593@posting.google.com>
References: <F118dHfKsp3MSi6xzme0000b841 AT hotmail DOT com>
NNTP-Posting-Host: 209.197.132.29
X-Trace: posting.google.com 992119528 8435 127.0.0.1 (9 Jun 2001 20:45:28 GMT)
X-Complaints-To: groups-support AT google DOT com
NNTP-Posting-Date: 9 Jun 2001 20:45:28 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> simple things like #include <iostream.h> or #include 
> <windows.h> cause my compiler to produce nausiating lists of errors, a lot 
> of them with the four-letter word ANSI in it.


ANSI C++ says that you should say #include <iostream> (or whatever
else) for standard libraries.    There are also a few other quirks
involving namespaces that may be causing you problems if you're used
to using older compilers; I don't know what all of them might be (I
still use non-ANSI compliers, but I don;t write much c++ anyways)

Rennie

- Raw text -


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