4 vielleicht gefixed mit termux

This commit is contained in:
TheShinyMelon 2022-12-05 15:17:06 +01:00
parent 576fac19d9
commit 706036e2f3
2 changed files with 3 additions and 3 deletions

BIN
4/test

Binary file not shown.

View File

@ -26,20 +26,20 @@ int main() {
c[0] = fgetc(input_file); c[0] = fgetc(input_file);
if((c[0] == (char)-1)) break; if((c[0] == (char)-1)) break;
if(c[0] = '-') { if(c[0] == '-') {
tmp_pos = 0; tmp_pos = 0;
val_arr[pos] = numarr_to_int(tmp_num); val_arr[pos] = numarr_to_int(tmp_num);
//printf("%i; %i; %i; %i\r\n", val_arr[0],val_arr[1],val_arr[2],val_arr[3]); //printf("%i; %i; %i; %i\r\n", val_arr[0],val_arr[1],val_arr[2],val_arr[3]);
pos++; pos++;
continue; continue;
} }
if(c[0] = ',') { if(c[0] == ',') {
tmp_pos = 0; tmp_pos = 0;
val_arr[pos] = numarr_to_int(tmp_num); val_arr[pos] = numarr_to_int(tmp_num);
pos++; pos++;
continue; continue;
} }
if(c[0] = '\n') { if(c[0] == '\n') {
tmp_pos = 0; tmp_pos = 0;
pos = 0; pos = 0;