dog.cpp

来自「这是一个dos版的应用程序」· C++ 代码 · 共 22 行

CPP
22
字号
// ***************************************************************
//  dog   version:  1.0   ? date: 12/03/2006
//  -------------------------------------------------------------
//  dog.cpp
//  -------------------------------------------------------------
//  Copyright (C) 2006 - All Rights Reserved
// ***************************************************************
// 
// ***************************************************************
#include "dog.h"
//----------------------------------------------------------------
void Dog::ShowMe(){
	cout<<"狗的类型:";
	cout<<s_Type<<endl;
	cout<<"狗的颜色:";
	cout<<s_Color<<endl;
	cout<<"狗喜爱的食物:";
	cout<<s_Food<<endl;
	cout<<"狗的体重:";
	cout<<n_Weight<<endl;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?