mirror of
https://github.com/brmlab/brmbar.git
synced 2025-06-08 13:24:01 +02:00
17 lines
230 B
C
17 lines
230 B
C
#include <stdio.h>
|
|
|
|
int read_items()
|
|
{
|
|
char buf[128];
|
|
FILE *f = fopen("items.txt", "r");
|
|
while (fgets(buf, 128, f)) {
|
|
printf("%s\n", buf);
|
|
}
|
|
fclose(f);
|
|
}
|
|
|
|
int main()
|
|
{
|
|
read_items();
|
|
return 0;
|
|
}
|