Mail Archives: djgpp/1999/11/09/13:01:14
In article <806t6a$1u3i AT enews4 DOT newsguy DOT com>,
Borg_Cinder <sinder AT cardina DOT net> wrote:
>You gotta be kidding me! That's basically "Hello World" down there...
>----------------------------------------------------------------------
>
>#include <iostream> /* 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
- Raw text -