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

📄 cerc.h

📁 descriere descriere descriere
💻 H
字号:
#ifndef _CERC_H
#define _CERC_H
#include "figura.h"
#include "Punct.h"
#include <iostream.h>
#include <fstream.h>


class Cerc : public Figura
{
   
   double raza;
public:
	  Punct centru;
      Cerc();
      Cerc(Punct, double);
      void setRaza(double);
      double getRaza();
      
      double Arie();
      double Perimetru();
      void readFromFile(char* );

		Punct getCentru();
      void afisare();

	    friend ifstream&  operator>>(ifstream& in,Cerc&);
	  friend ofstream& operator<<(ofstream& out,Cerc& );
	   friend istream&  operator>>(istream& in,Cerc&);
	  friend ostream& operator<<(ostream& out,Cerc& );
      Figura& deplasare(double, double);


};

#endif;

⌨️ 快捷键说明

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