From: khan AT xraylith DOT wisc DOT edu (Mumit Khan) Newsgroups: comp.os.msdos.djgpp Subject: Re: cout + latest version? Date: 9 Nov 1999 17:29:51 GMT Organization: Center for X-ray Lithography, UW-Madison Lines: 31 Message-ID: <809lmf$o2o$1@news.doit.wisc.edu> References: <3823718F DOT 51A3 AT tin DOT it> <800emi$10iv AT enews3 DOT newsguy DOT com> <805uff$b44$1 AT news DOT doit DOT wisc DOT edu> <806t6a$1u3i AT enews4 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 <806t6a$1u3i AT enews4 DOT newsguy DOT com>, Borg_Cinder wrote: >You gotta be kidding me! That's basically "Hello World" down there... >---------------------------------------------------------------------- > >#include /* don't need the .h part */ >int main() /* could use void, but no difference */ >{ /* um, it's a bracket */ > cout << "Hello World!\n"; /* Hello to you too! */ > return 0; /* program terminates normally */ >} /* hey it's another bracket! yea! */ > >---------------------------------------------------------------------- No, I'm not kidding you. It's a good idea to have an understanding of the ISO standard before claiming compiler XYZ to be "absolutely ANSI compliant". It's too bad that you chose to ignore my hint about "std::" prefix in the post you're responding to -- you could have looked it up by now. If you have questions regarding the std namespace, please follow up in C++ specific forum. >Now if that don't compile in DJGPP or VC++ or Borland, then we got some >serious problems.... Sorry, but we don't have a serious problem. Regards, Mumit