Call main() itself in c++?
- by Mask
int main() {
cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
system("pause");
return main();
}
The above works,but it hardcoded the main(),is there a magic variable to get the current running function?