I have a pretty weak understanding of pointers in the very first place, but have had little luck finding out exactly why you need them in class definitions.
I know that pointers are a type of variable that point to the memory address of another variable. That's about where my real understanding begins and ends.
However, I can't possibly see their use in the beginning of this derived class:
class Circle : public Shape {
private: int* radius;
....
....
}
Why would radius be a pointer? What purpose does this serve?