scanf("%s", stringVariable);
template<class T1, class T2> void printValues(T1 val1, T2 val2) ...
if (items > 0) { ... } else puts("no input");
sizeof(lpBuffer)
L"\xef\xbb\xbf - hello - J - こんにちは - abcdefghijklmnopqrstuvwxyz",
for (int i = S.size() - 1; i >= 0; i--) { 00A17B45 83 E8 01 sub eax,1 00A17B48 89 45 D4 mov dword ptr [ebp-2Ch],eax 00A17B4B 83 7D D4 00 cmp dword ptr [ebp-2Ch],0 00A17B4F 0F 8C A2 00 00 00 jl $LN13+2Bh (0A17BF7h)
for (int i = S.size() - 1; ~i; i--) { 00A07B45 83 E8 01 sub eax,1 00A07B48 89 45 D4 mov dword ptr [ebp-2Ch],eax 00A07B4B 8B 45 D4 mov eax,dword ptr [ebp-2Ch] 00A07B4E F7 D0 not eax 00A07B50 85 C0 test eax,eax 00A07B52 0F 84 A2 00 00 00 je $LN13+2Bh (0A07BFAh)
HANDLE hDFile = CreateFile(flename, GENERIC_READ | GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); unsigned char BOM48[3]{ 0xef, 0xbb, 0xbf }; bErrGHJ = WriteFile(hDFile, (LPCVOID)BOM48, (DWORD)sizeof(BOM48), &dwBytesWrittenXPP, NULL); do { wstring write_stuff77 = L"XYZ"; // Convert to two LPCVOID. // LPCVOID Nf2 = (LPCVOID)&write_stuff77[0]; NO!! LPCVOID LpAll = (LPCVOID)write_stuff77.c_str(); // wstring wstrFirst(static_cast<const wchar_t*>(Nf1)); !!JUST DONT DO THIS! Bytes_that_need_To_Write = write_stuff77.size() * sizeof(write_stuff77[0]); bErrGHJ = WriteFile(hDFile, LpAll, Bytes_that_need_To_Write, &dwBytesWrittenXPP, NULL); bytes_which_have_written_already += dwBytesWrittenXPP; } while (bytes_which_have_written_already < Bytes_that_need_To_Write); bErrGHJ = CloseHandle(hDFile);