I have, for example, the memory address of a double value which is: 245CEA20
I need to do something like this:
double * value = 0; value+= 0x245CEA20; std::cout << value << std::endl;
I get a value like 22E75100 which is wrong even if you convert it to decimal format.
Basically asking, how do you get the value from a particular memory address (assume that you know the memory address beforehand).