18 lines
319 B
C
18 lines
319 B
C
#include "src.h"
|
|
#include <stdio.h>
|
|
|
|
void c4() {
|
|
FILE *f = fopen(FNAME, "r");
|
|
int fcontent;
|
|
fscanf(f, "%d", &fcontent);
|
|
fclose(f);
|
|
solve(4, "Reading from file",
|
|
fmtstr("Read from file: %s\nContent read: %d", FNAME, fcontent));
|
|
}
|
|
|
|
int main() {
|
|
print_header();
|
|
c4();
|
|
return 0;
|
|
}
|