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