MSUStudentWork/Sorting/9Ex/tools.h
2024-11-22 09:45:40 +03:00

20 lines
385 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();
double * getArray(FILE * file);
bool orderliness(double * array, int length);
void randomArray();
void generate(double * array, int length);
void printArray(double * array, int length);
#endif