I\'m trying to store the value of an address in a non pointer int variable, when I try to convert it I get the compile error \"invalid conversion from \'int*\' to \'int\'\" this
I'd suggest using reinterpret_cast:
reinterpret_cast
thatvalue = reinterpret_cast(ip);