O'Reilly logo
  • Ilija Injac thinks this is interesting:

// Ex1_01.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> int _tmain(int argc, _TCHAR* argv[]) { std::cout << "Hello world!\n"; return 0; }

From

Cover of Ivor Horton's Beginning Visual C++ 2013

Note

You can read here, why it is called _tmain and not main: https://social.msdn.microsoft.com/Forums/en-US/2d5af4be-8baa-4ff1-bd65-21aefa049e4b/what-is-difference-between-main-and-tmain-in-visual-studio?forum=Vsexpressvc