This commit is contained in:
Pavol Rusnak 2011-04-22 01:58:29 +02:00
commit f5fe42ab86
4 changed files with 31 additions and 0 deletions

17
brmbar.c Normal file
View file

@ -0,0 +1,17 @@
#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;
}