Possible Duplicate:
What is the difference between _tmain() and main() in C++?
I found it in this post, but never see that before.
Possible Duplicate:
What is the difference between _tmain() and main() in C++?
I found it in this post, but never see that before.
See http://msdn.microsoft.com/en-us/library/6wd819wh.aspx
_tmainresolves tomainunless_UNICODEis defined. In that case,_tmainresolves towmain.
Since all current Windows systems are Unicode-based, the "text" macros are largely obsolete. You should always define _UNICODE, and you can use wmain directly.