this is my amazing c program. i know i schould't be allowed to program in c anymore...
This commit is contained in:
parent
3e765866c5
commit
3284a8e002
@ -10,7 +10,7 @@ void clear_num_arr(char numarr[2]) {
|
|||||||
numarr[0] = '0'; numarr[1] = '0';
|
numarr[0] = '0'; numarr[1] = '0';
|
||||||
}
|
}
|
||||||
|
|
||||||
int main() { //Hi. The input-file has to have an empty line at the end. Sorry.
|
int main() { //Hi. The input-file has to have an empty line at the end. sry m8
|
||||||
FILE *input_file = fopen("./input.txt", "r");;
|
FILE *input_file = fopen("./input.txt", "r");;
|
||||||
fseek(input_file, 0, SEEK_END);
|
fseek(input_file, 0, SEEK_END);
|
||||||
int if_size = ftell(input_file);
|
int if_size = ftell(input_file);
|
||||||
|
Loading…
Reference in New Issue
Block a user