i have this program and i cant compile it
Code:#include<stdio.h> #include<iostream> #include<conio.h> class dog { int age, weight; char color; public: void setvalues(int, int, char); }; void dog::setvalues(int age, int weight, char color) { this -> age = age; // using this-> will explicily refer to the class member weight -> = weight; color -> = color; }; main() { dog fido; fido.setvalues(12,55,"gray"); getch(); }