Domanda

How can I perform the task in subject in order to display this DWORD array content in Hex on my log?

È stato utile?

Soluzione

DWORD ar[4];
for (int i = 0; i < 4; i++)
{   CString str;
    str.Format(L"%08X\n", ar[i]);
    TRACE(L"%s", str);
}
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top