#include #include #include "myheader.h" int main() { int count; FILE *fp = fopen("sample.txt", "r"); if (fp == NULL) { fprintf(stderr, "I can\'t open the file!\n"); exit(1); } count = foo(fp); printf("%d\n", count); fclose(fp); return EXIT_SUCCESS; }