g++ problems

Luke Davis ldavis at shellworld.net
Thu Apr 1 15:26:29 EST 2004


On Thu, 1 Apr 2004, Sean McMahon wrote:

> Another thing, doesn't return take an argument, return (0);

Indeed it does.  Here is his code, as it appeared in your quoted message.
It is correct.

> > #include <iostream>
> > using namespace std;
> >
> > int main()
> > {
> >    cout << "Hello World!\n";
> >    return 0;
> > }




More information about the Speakup mailing list