diff --git a/.vscode/settings.json b/.vscode/settings.json index 4a323d6..a2b1fd0 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -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" - } -} \ No newline at end of file + "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 +} diff --git a/Code-C/include/TSL2561.h b/Code-C/Include/TSL2561.h similarity index 100% rename from Code-C/include/TSL2561.h rename to Code-C/Include/TSL2561.h diff --git a/Code-C/include/average.h b/Code-C/Include/average.h similarity index 100% rename from Code-C/include/average.h rename to Code-C/Include/average.h diff --git a/Code-C/include/b2hd.h b/Code-C/Include/b2hd.h similarity index 100% rename from Code-C/include/b2hd.h rename to Code-C/Include/b2hd.h diff --git a/Code-C/include/fileGestion.h b/Code-C/Include/fileGestion.h similarity index 100% rename from Code-C/include/fileGestion.h rename to Code-C/Include/fileGestion.h diff --git a/Code-C/include/getArray.h b/Code-C/Include/getArray.h similarity index 100% rename from Code-C/include/getArray.h rename to Code-C/Include/getArray.h diff --git a/Code-C/include/growthRate.h b/Code-C/Include/growthRate.h similarity index 100% rename from Code-C/include/growthRate.h rename to Code-C/Include/growthRate.h diff --git a/Code-C/include/initialParameters.h b/Code-C/Include/initialParameters.h similarity index 100% rename from Code-C/include/initialParameters.h rename to Code-C/Include/initialParameters.h diff --git a/Code-C/include/power.h b/Code-C/Include/power.h similarity index 100% rename from Code-C/include/power.h rename to Code-C/Include/power.h diff --git a/Code-C/include/queue.h b/Code-C/Include/queue.h similarity index 100% rename from Code-C/include/queue.h rename to Code-C/Include/queue.h diff --git a/Code-C/include/simulateFlux.h b/Code-C/Include/simulateFlux.h similarity index 100% rename from Code-C/include/simulateFlux.h rename to Code-C/Include/simulateFlux.h diff --git a/Code-C/getArray.c b/Code-C/getArray.c index 3b775d4..903c4f5 100644 --- a/Code-C/getArray.c +++ b/Code-C/getArray.c @@ -1,7 +1,7 @@ #include "include/getArray.h" #include "include/fileGestion.h" #include "include/initialParameters.h" -//#include +// #include 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");