slight rework of output
This commit is contained in:
parent
dfd0087995
commit
461bb1d420
|
@ -381,7 +381,7 @@ void write_to_file(char* filename, creneau* edt, int len_edt) {
|
|||
for(int i = 0; i < len_edt; i++) {
|
||||
fprintf(ptr, "%d,%d,%d,%d,%d,%d,%s,", edt[i].date.hour, edt[i].date.day, edt[i].date.month, edt[i].date.year, edt[i].length, edt[i].group, edt[i].name);
|
||||
if(edt[i].mat == NOTHING) {
|
||||
fprintf(ptr, "_");
|
||||
fprintf(ptr, "none");
|
||||
} else if(edt[i].mat == MATH) {
|
||||
fprintf(ptr, "Maths");
|
||||
} else if(edt[i].mat == PHYSICS) {
|
||||
|
|
Loading…
Reference in New Issue