在vs2015中使用strcpy函数的时候出现了这么个问题:
'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
解决方法很简单,只需要在该.cpp的最开始加上一句
#define _CRT_SECURE_NO_WARNINGS
ok,问题搞定。