/
lyapdy
/
Object_oriented_programming_cpp_318
Обзор
Документация
Войти
/
lyapdy
/
Object_oriented_programming_cpp_318
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
lab6/task_5.h
38 строк
622 B
danillyapunov
lab6commit
10 янв 2026, 15:23
10 янв 2026, 15:23
b29f1a0
Код
Авторство
О чём код?
#ifndef TASK_5_H #define TASK_5_H #include <string> class Model3d; class Brick { private: int length; int width; int height; public: Brick(int l = 10, int w = 20, int h = 30); friend bool canPassThrough(const Brick&, const Model3d&); void getDimensions(); void printProjections() const; }; class Model3d { private: int holeLength; int holeWidth; int holeHeight; public: Model3d(int hh, int hl, int hw); friend bool canPassThrough(const Brick&, const Model3d&); void printProjections() const; }; class BrickChecker { public: void run(); }; #endif // TASK_5_H