_tmain and _TCHAR are extensions of Microsoft's C++ compiler and therefore, are non-standard.