There is an address, I know 100% that a line is stored in it, you need to read characters from the address and then do the operations I need.
I read multibyte encoding:
DWORD addr = 0x112233445566; printf_s("%с\n", *((const char*)addr)); The first character was perfectly considered, we try to read the first character from Unicode:
wprintf_s(L"%с\n", *((const wchar_t*)addr)); It gives out some kind of bilberd, I know that in Unicode a character takes 2 bytes, but I don’t understand how to calculate it correctly.