{I+=codeWee;}
[C++] TCHAR: string copy(_tcscpy,_tcscpy_s) - safe and unsafe
	TCHAR szSrc[] = _T("Hello World!");

	TCHAR szDest[13];
	szDest[12] = 0;

	_tcscpy(szDest, szSrc);				// unsafe
	_tcscpy_s(szDest, _tcslen(szDest)+1, szSrc);	// safe
HTML | PHP | C++ | DirectX11 | Javascript | C# | HTML5 | ASP | SQL | General | CSS | Oculus Rift | Unity3d | Virtools SDK | Tip | NSIS | PowerShell | node.js | Web API | RTSP | All
Copyright© 2016 CodeWee.com All rights reserved.