progress on desktop

This commit is contained in:
2023-02-18 15:44:55 -06:00
parent 7879affd21
commit 60261c73cd
9 changed files with 206 additions and 17 deletions

View File

@@ -0,0 +1,16 @@
#include <stdio.h>
int main(int argc, char* argv[])
{
int rows, columns;
FILE* input = fopen(argv[1], "r");
fscanf(input, "%d", &rows);
fscanf(input, "%d", &columns);
for(int i = 0; i < rows; i++) {
for(int j = 0; j < columns; j++) {
int value;
fscanf(input, "%d", &value);
}
}
fclose(input);
}