![]() |
#2
niuyufeng2009-07-17 07:39
|
我是初学者,
C++代码中拷贝字符串的时候一般用strcpy还是strcpy_s?
用strcpy好像出警告,
(warning C4996: '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.)
请指教。