bool Test() { FILE *in; const char path[]="C:/Windows/WindowsUpdate.txt"; in = fopen(path, "r" ); if (in==NULL) { return true; } return false; }