Mail Archives: djgpp/1999/11/04/14:42:08
In article <nW8U3.35224$Jp4 DOT 57650 AT news20 DOT bellglobal DOT com>, "Derek Battams" <dbattams AT canada DOT com> wrote:
>I just downloaded all of the ZIP files and unzipped them. To ensure that
>I've installed all of the files correctly I tried to compile the following
>C++ program:
>
>#include <iostream>
>
>int main()
>{
> cout << "Hello World!";
> return 0;
>}
>
>When I tried to compile it I got the following errors:
>
>bunch of crap taken out<
>Help appreciated,
>
>Derek Battams
>
>
try this:
------------HELLO.C------------------
#include <stdio.h>
void main() { printf("Hello World\n"); }
-----------End HELLO.C-------------
but if you really want the iostream, then use:
#include <iostream.h>
you always need to remember the .h part.
- Raw text -