Home > Back-end >  When debugging directly generate failure?
When debugging directly generate failure?

Time:09-20

# include

Int main ()
{
Int * fp;
Char file []="options. TXT".
if (! (fp=fopen (file, the "r"))) {
Fprint (" no file ");
}
return 0;
}


I want to open a call options. TXT file and determine whether open, why when debugging directly generate failure?

CodePudding user response:

Int * fp;
Instead of
FILE *fp;
  • Related