int –> Hex
int i = 10; void* h = (void*)i;
Hex –> int
void* h = 0xa; int i = (int)((const char*)h - (const char*)0);
Post a Comment
No comments:
Post a Comment