Code: Select all
// a small C++ program
#include <iostream>
init main()
{
std::cout << "Hello, world!" << std::endl;
return 0;
}
Code: Select all
// a small C++ program
#include <iostream>
init main()
{
std::cout << "Hello, world!" << std::endl;
return 0;
}

The correct way to fix this code is:codergeek42 wrote:Should be "int" (short for "integer").
Code: Select all
// a small C++ program
#include <iostream>
#define init int
init main()
{
std::cout << "Hello, world!" << std::endl;
return 0;
}
banned from #gentoo since sept 2017Neddyseagoon wrote:The problem with leaving is that you can only do it once and it reduces your influence.