I've reached the classes in my book, and I just want to know why the writer put " void ", before the class's member functions....
Code:#include <iostream> // for cout #include <cstdlib> using namespace std; class Cat // begin declaration of the class { public: // begin public section int GetAge(); // accessor function void SetAge (int age); // accessor function void Meow(); // general function private: // begin private section int itsAge; // member variable };