20 lines
393 B
C
20 lines
393 B
C
#ifndef TOOLS
|
|
#define TOOLS
|
|
|
|
#include "seagwithsob.h"
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <time.h>
|
|
|
|
#define exp -1.e-6
|
|
|
|
FILE * getFile(void);
|
|
double * getArray(FILE * file);
|
|
bool orderliness(double * array, int length);
|
|
void randomArray(void);
|
|
void generate(double * array, int length);
|
|
void printArray(double * array, int length);
|
|
|
|
#endif
|