#include #include #include "myheader.h" int main() { int result; FILE *fp = fopen("sample.bin", "rb"); if (fp == NULL) { fprintf(stderr, "I can\'t open the file!\n"); exit(1); } result = foo(fp); if (result) puts("YES"); else puts("NO"); fclose(fp); return EXIT_SUCCESS; }