using strcpy_s for TCHAR pointer (Microsoft Specific)
Posted
by Yan Cheng CHEOK
on Stack Overflow
See other posts from Stack Overflow
or by Yan Cheng CHEOK
Published on 2010-06-01T02:04:21Z
Indexed on
2010/06/01
2:13 UTC
Read the original article
Hit count: 247
I was wondering which is the correct way?
_tcscpy(tchar_pointer, _tcslen(tchar_pointer), _T("Hello World"));
or
_tcscpy(tchar_pointer, _tcsclen(tchar_pointer), _T("Hello World"));
or
_tcscpy(tchar_pointer, ???, _T("Hello World"));
© Stack Overflow or respective owner