Consider following code, I don\'t understand why empty function of print must be defined.
#include
using namespace std;
void print()
{
}
If you don't have empty print function, imagine a call with 2 parameters :
oups, print() doesn't exists, because only print with at least one parameter exists ! So you need a print without parameters.
print without any parameters is your final call