⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 volum.h

📁 学习C加加做的实验源程序
💻 H
字号:
#include<iostream.h>
class Volum{
	float length,width,height;
public:
	Volum(float len,float wid,float hei)
	{
		length=len;
		width=wid;
		height=hei;		
	}
	Volum(Volum &p)
	{
		length=p.length;
		width=p.width;
		height=p.height;
	}
	~Volum(){cout<<"Destructor called...\n";}
	float area1(){return length*height;}
	float area2(){return width*height;}
	float area3(){return length*width;}
};

⌨️ 快捷键说明

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