Folder name Change

This commit is contained in:
Quentin Perret 2023-05-29 14:42:46 +02:00
parent 8798202171
commit ec3c985534
12 changed files with 31 additions and 30 deletions

49
.vscode/settings.json vendored
View file

@ -1,25 +1,26 @@
{ {
"C_Cpp.errorSquiggles": "Disabled", "C_Cpp.errorSquiggles": "Disabled",
"files.associations": { "files.associations": {
"time.h": "c", "time.h": "c",
"b2hd.h": "c", "b2hd.h": "c",
"main.h": "c", "main.h": "c",
"stdio.h": "c", "stdio.h": "c",
"string.h": "c", "string.h": "c",
"initialparameters.h": "c", "initialparameters.h": "c",
"filegestion.h": "c", "filegestion.h": "c",
"power.h": "c", "power.h": "c",
"getarray.h": "c", "getarray.h": "c",
"math.h": "c", "math.h": "c",
"limits": "c", "limits": "c",
"*.tcc": "c", "*.tcc": "c",
"type_traits": "c", "type_traits": "c",
"simulateflux.h": "c", "simulateflux.h": "c",
"pthread.h": "c", "pthread.h": "c",
"types.h": "c", "types.h": "c",
"average.h": "c", "average.h": "c",
"queue.h": "c", "queue.h": "c",
"growthrate.h": "c", "growthrate.h": "c",
"stdbool.h": "c" "stdbool.h": "c"
} },
} "cmake.configureOnOpen": false
}

View file

@ -1,7 +1,7 @@
#include "include/getArray.h" #include "include/getArray.h"
#include "include/fileGestion.h" #include "include/fileGestion.h"
#include "include/initialParameters.h" #include "include/initialParameters.h"
//#include <string.h> // #include <string.h>
long **getlongArray(int N, int M) /* Allocate the array */ long **getlongArray(int N, int M) /* Allocate the array */
{ {
@ -27,11 +27,11 @@ double **getDoubleArray(int N, int M) /* Allocate the array */
void fillArrayWithRawData(char *rawDataFileName, long **p, int N, int M) void fillArrayWithRawData(char *rawDataFileName, long **p, int N, int M)
{ {
int i = 0, j; int i = 0;
char *buffer; // char *buffer;
size_t bufsize = 200; // size_t bufsize = 200;
buffer = (char *)malloc(bufsize * sizeof(char)); // buffer = (char *)malloc(bufsize * sizeof(char));
char *token; // char *token;
FILE *f = fopen(rawDataFileName, "r"); FILE *f = fopen(rawDataFileName, "r");