Lab8 test 1.0.1
Demonstartion of OOP in C
 
Загрузка...
Поиск...
Не найдено
circle.h
См. документацию.
1#pragma once
2#include "shape.h"
3
10typedef struct Circle {
12 int radius;
14
25circle_t *circle_create(int x, int y, int radius);
circle_t * circle_create(int x, int y, int radius)
Конструктор для круга
Определения circle.c:42
struct Circle circle_t
Круг
Модуль фигуры
struct Shape shape_t
Абстрактная Фигура
Определения shape.h:19
Круг
Определения circle.h:10
shape_t base
Родитель (абстрактная фигура)
Определения circle.h:11
int radius
Радиус круга
Определения circle.h:12