📄 cerc.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 + -