1.vs2017 的C4996问题:This function or variable may be unsafe

在程序最前面加#pragma warning(disable:4996);//编译时屏蔽掉4996错误, 编译通过

2.程序调试/运行后自动退出

system("pause");  //运行后不退出

3.设置默认项目位置

关于vs2017的一些小tip

相关文章: