Question: what is _tmain in c++?
Answer: _tmain is a Microsoft extension. main is, according to the C++ standard, the program's entry point. ... Since the compiler doesn't enforce this for the main function, you get a program where an array of wchar_t strings are passed to the main function, which interprets them as char strings.