VC有哪些主函数的写法啊?请大家能告诉我,以下是我知道的:
int main (char *, char *);
int _tmain (char *, char *);
int WinMain (HINSTANCE, HINSTANCE, LPSTR, int);
int _tWinMain (HINSTANCE, HINSTANCE, LPSTR, int);
带_t与不带_t的主函数有什么不同啊?
谢谢
...全文
193打赏收藏
收集,收集,收集VC的主函数
VC有哪些主函数的写法啊?请大家能告诉我,以下是我知道的: int main (char *, char *); int _tmain (char *, char *); int WinMain (HINSTANCE, HINSTANCE, LPSTR, int); int _tWinMain (HINSTANCE, HINSTANCE, LPSTR, int); 带_t与不带_t的主函数有什么不同啊? 谢谢
/***
*tchar.h - definitions for generic international text functions
*
* Copyright (c) 1991-2001, Microsoft Corporation. All rights reserved.
*
*Purpose:
* Definitions for generic international functions, mostly defines
* which map string/formatted-io/ctype functions to char, wchar_t, or
* MBCS versions. To be used for compatibility between single-byte,
* multi-byte and Unicode text models.
*
* [Public]
*
****/