Windows VC++常见问题汇总

1.warning C4996: 'setmode': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _setmode. See online help for details.

增加宏定义去掉这种类似的警告:_CRT_NONSTDC_NO_DEPRECATE

2. 去掉线程安全警告,定义宏:_CRT_SECURE_NO_WARNINGS

posted @ 2013-10-24 09:29  lingjip  Views(182)  Comments(0Edit  收藏  举报