m gona kill myself if i dont find a tutorial that actually explains itself. well ill get to the point. this code...not explained at all, and this is the best tutorial that supposedly exists so can sum1 explain, line by line wat everythin means, i know its a big ask but im sure u can find it in your heartsCode:class Dog { public: void setAge(int age); int getAge(); void setWeight(int weight); int getWeight(); void speak(); private: int age; int weight; }; void Dog::setAge(int age) { this->age = age; } int Dog::getAge() { return age; } void Dog::setWeight(int weight) { this->weight = weight; } int Dog::getWeight() { return weight; } void Dog::speak() { cout << "BARK!!" << endl; }![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
sorry, got carried away



LinkBack URL
About LinkBacks




