Salve a tutti!!
avrei un problemino... in quanto non riesco a compilare questo script:
#include <iostream.h>
void main ()
{
cout << "Hello World!" ;
}
Ho come os debian sarge e come compilatore uso g++ perche che errore puo' essere?
HelloWorld.cpp:4: error: `main' must return `int'
HelloWorld.cpp: In function `int main(...)':
HelloWorld.cpp:5: error: `cout' undeclared (first use this function)
HelloWorld.cpp:5: error: (Each undeclared identifier is reported only once for
each function it appears in.)
Ringrazzio tutti in anticipo