Well, i'm new but here's my problem
pointer is a int, and i want to return the short value at the address of pointer.Code:__int16 PointerControl::ReadShort() { __int16 *data; data = pointer; pointer += sizeof(data); return *data; }
but this ^^ doesn't work, any suggestions?