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

47
.vscode/settings.json vendored
View file

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

View file

@ -1,7 +1,7 @@
#include "include/getArray.h"
#include "include/fileGestion.h"
#include "include/initialParameters.h"
//#include <string.h>
// #include <string.h>
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)
{
int i = 0, j;
char *buffer;
size_t bufsize = 200;
buffer = (char *)malloc(bufsize * sizeof(char));
char *token;
int i = 0;
// char *buffer;
// size_t bufsize = 200;
// buffer = (char *)malloc(bufsize * sizeof(char));
// char *token;
FILE *f = fopen(rawDataFileName, "r");