#include <iostream>

int main()
{
        cout << "Hello World!" << endl;
        return(0);
}

Try the above :)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Tom Brinkman
Sent: Sunday, December 30, 2001 5:42 PM
To: [EMAIL PROTECTED]
Subject: Re: [expert] C++ errors

On Sunday 30 December 2001 08:12 pm, Ken Thompson wrote:
> Hello all,
> I'm trying to learn C++ but get an error every time I try to
> execute from the console.
> I can make the exact same file in K-Develop and it executes OK,
> what could be wrong?
> I've included the simple "Hello World " file and the error message
> I'm getting.
>
> #include <iostream.h>
> int main()

  Been a long time, but shouldn't this be

  int main();

-- 
������Tom Brinkman � �         Corpus Christi, Texas, USA



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to