I have a C/C++ book. I am doing windows programming along with console. I just had a question. What are class constructors and destructors for. I saw this example before:
Cat(int initialAge); // Constructor
~Cat(); // Destructor
void SetAge(int age);
// Sets up functions in class "Cat"
... // Some Code
... // More code
What are they used for?