Добавил выбор между рандомной генерацией и файлом в 6м задании

This commit is contained in:
AZEN-SGG 2024-12-20 23:49:57 +03:00
parent 7e7ec0e12c
commit 610ed3990a
4 changed files with 95 additions and 19 deletions

View file

@ -5,7 +5,17 @@
#include <stdlib.h>
#include "types.h"
#define ASCII_FIRST_LETTER 65
#define MAX_PRINT_POINTS 10
#define MAX_RAND_COORD 10000
#define RAND_MULTIPLIER 1.e-2
FILE * getFile(void);
points getPoints(FILE * file);
points * getFilePoints(FILE * file)
points * GetPointsFromFile(void);
points * getRandomPoints(void);
points * getPoints(void);
void printPoints(points pts);
void generate(points * pts);
#endif