/
Puzzman
/
basic_programming
Обзор
Документация
Войти
/
Puzzman
/
basic_programming
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
homework_11_5/Lib/Shape/Shape.h
45 строк
855 B
Puzzanis
refactor
10 сен 2024, 18:35
10 сен 2024, 18:35
077ee38
Код
Авторство
О чём код?
#ifndef SHAPE_H #define SHAPE_H #include <iostream> #include <string> class Shape { protected: std::string name{ "������" }; int sides_count{}; int side_length_a{}; int side_length_b{}; int side_length_c{}; int side_length_d{}; int corner_A{}; int corner_B{}; int corner_C{}; int corner_D{}; bool isQuadrangle{ false }; //������� ���������������� bool printing_is_allowed{ false }; //������ ��������� virtual void check_geometr_figure(); // ������� �������� ������������ �������������� ������ public: std::string getName(); int get_side_length_a(); int get_side_length_b(); int get_side_length_c(); int get_side_length_d(); int get_corner_A(); int get_corner_B(); int get_corner_C(); int get_corner_D(); int getSides_count(); bool get_isQuadrangle(); bool get_is_right_figure(); bool get_printing_is_allowed(); }; #endif