StringCchCopy和_tcscpy_s有什么区别? [英] What's the difference between StringCchCopy and _tcscpy_s?
本文介绍了StringCchCopy和_tcscpy_s有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你能解释一下 StringCchCopy 和 _tcscpy_s 之间的区别吗?
StringCchCopy是否安全字符串函数呢?
感谢您的帮助!
解决方案
StringCchCopy
是Windows API
功能。它像_tcscyp_s
一样'安全'。_tcscpy_s
是一个CRT功能(参见MSDN上的兼容性)了解更多信息 [ ^ ])。
Hi,
Could you explaine me what's the difference between StringCchCopy and _tcscpy_s?
Is StringCchCopy safe string functions too?
Thanks for help!
解决方案
StringCchCopy
is aWindows API
function. It is 'secure' like the_tcscyp_s
is. The_tcscpy_s
is a CRT function (see Compatibility at MSDN for more insight[^]).
这篇关于StringCchCopy和_tcscpy_s有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文