I have problem with one exercise from Thinking in C++. Exactly chapter 7, exercise 11.
There is command to create function bool moved() which return true if the pointer has moved. Maybe somebody did it and know how to do it.
I define for the moment only this:
bool moved(){
if(mem == 0) return false;
else return true;
} // Where mem is begining adress
My comparing is tottaly nonsense but for the moment I don't know how I should check mem.