From: khan AT xraylith DOT wisc DOT edu (Mumit Khan) Newsgroups: comp.os.msdos.djgpp Subject: Re: cout + latest version? Date: 8 Nov 1999 07:35:11 GMT Organization: Center for X-ray Lithography, UW-Madison Lines: 27 Message-ID: <805uff$b44$1@news.doit.wisc.edu> References: <3823718F DOT 51A3 AT tin DOT it> <800emi$10iv AT enews3 DOT newsguy DOT com> NNTP-Posting-Host: modi.xraylith.wisc.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <800emi$10iv AT enews3 DOT newsguy DOT com>, Borg_Cinder wrote: >Of course it is. DJGPP is absolutely ANSI C++ compliant. Cout works just >as it should. > >#include >int main() >{ > cout << "Yep cout still works!\n"; > return 0; >} GNU C++ compiler is still a long way from ANSI/ISO compliance, sorry. The compiler itself is getting close, but the runtime is not even close (see http://sourceware.cygnus.com/libstdc++/ for libstdc++-v3 project that will be ISO compliant). Contrary to the marketing hype you may hear, there is no compiler that conforms 100% to the standard yet Your code snippet from example will not even compile with an ISO compliant C++ compiler (hint: either prefix with std:: or import all of std with `using namespace std;'.) Regards, Mumit