Try using simply : main()
It is not the fanciest and may not work for all applications, but it works for me.
std::cout << "This is the end of the code."; main()