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

📄 composite.h

📁 descriere descriere descriere
💻 H
字号:
#ifndef _COMPOSITE_H
#define _COMPOSITE_H
#include "figura.h"
#include "Container.h"


class Composite :public Figura
{
	private:
		Container c;
	public:	
		char tip;
		
		Composite();
		
		void addFigure(Figura* fig);
		double Arie();
		double Perimetru();
		void afisare();
		void toFile();
		Figura& deplasare(double, double);
		void readFromFile(char* );
		void removeFigure(int idex);
		
		friend ifstream&  operator>>(ifstream& in,Composite&);
		friend ofstream& operator<<(ofstream& out,Composite& );
		friend istream&  operator>>(istream& in,Composite&);
		friend ostream& operator<<(ostream& out,Composite& );

};


#endif

⌨️ 快捷键说明

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