Добавил выбор между рандомной генерацией и файлом в 6м задании
This commit is contained in:
parent
7e7ec0e12c
commit
610ed3990a
4 changed files with 95 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue