Починил, понял, что неверно работает функция
This commit is contained in:
parent
610ed3990a
commit
c14c8ef9c2
4 changed files with 64 additions and 70 deletions
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include "types.h"
|
||||
|
||||
#define ASCII_FIRST_LETTER 65
|
||||
|
|
@ -10,12 +11,12 @@
|
|||
#define MAX_RAND_COORD 10000
|
||||
#define RAND_MULTIPLIER 1.e-2
|
||||
|
||||
points getPoints(void);
|
||||
points getPointsFromFile(void);
|
||||
FILE * getFile(void);
|
||||
points * getFilePoints(FILE * file)
|
||||
points * GetPointsFromFile(void);
|
||||
points * getRandomPoints(void);
|
||||
points * getPoints(void);
|
||||
points getFilePoints(FILE * file);
|
||||
points getRandomPoints(void);
|
||||
void generatePoints(points * pts);
|
||||
void printPoints(points pts);
|
||||
void generate(points * pts);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue