EDIT:::
You can try the following:
CODE
#include <iostream>
int main()
{
if (std::cout << "Hello world!" << std::endl) //no using namespace std allowed because that would involve a semicolon
{
}
//if there is no return at the end of main() the compiler returns 0 for you (still not good practice)
}
This post has been edited by #include<wmx010>: 20 Jan, 2008 - 06:18 AM