#include #include void accessFile(); int main() { accessFile(); return 0; } void accessFile() { FILE *fp; int n = 0; int z = 0; fp = fopen(“count.txt”,”a+”); if(fp == NULL) printf(“Error opening file”); else { while(!feof(fp)) [...]
All posts in category c
Open a file and output numbers
Posted by zerojuan on September 18, 2008
http://codeanginamo.com/blog/2008/09/open-a-file-and-output-numbers/