I made the following simple c++ prog.

-----------------------------------------------
#include <iostream>
using namespace std;
int main ()
{
     cout << "Hello World!";
     return 0;
}
-----------------------------------------------
Tried to compile and link using
#> g++ helloworld.cpp

and get the error:
"undefined reference to `main' "

What is it looking for?

Mike
____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to