#include
using namespace std;
class Dog//小写class
{
public:
void setDog(int A=0,int B=0);
void showDog();
private:
int age,weight;
};//分号
void Dog::setDog(int A,int B){
age=A;
weight=B;
}
inline void Dog::showDog(){
cout<
int main(){
Dog myDog;
cout<<"first Dog set:"<
myDog.showDog();
cout<<"set Dog:"<
myDog.showDog();
return 0;
}