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

📄 patrat.h

📁 descriere descriere descriere
💻 H
字号:
#ifndef _PATRAT_H
#define _PATRAT_H
#include "figura.h"
#include "Punct.h"
#include <fstream.h>
class Patrat : public Figura
{
private:
   
    double latura;
public:
		Punct origine;
       Patrat();
       Patrat(Punct,double);
       void setLatura(double);
       double getLatura();
       double Arie();
       Punct getOrigine();
      double Perimetru();
      void readFromFile(char* );
	
      void afisare();
      Figura& deplasare(double, double);
	  friend ifstream&  operator>>(ifstream& in,Patrat&);
	  friend ofstream& operator<<(ofstream& out,Patrat& );
	   friend istream&  operator>>(istream& in,Patrat&);
	  friend ostream& operator<<(ostream& out,Patrat& );


};

#endif;

⌨️ 快捷键说明

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