Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Guest Anonymous Poster

Has anyone had this Debug Error in VC++?

This topic is 6896 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I think when you try to read from a NULL file it will abort in fgetc.c, at least it's done that to me:

FILE *tfp = NULL;
char tstr[190];
fgets(tstr, 7, tfp);

It might even do this when tfp is initialized to something besides NULL (like cbcbcbcbcb).
-ns

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
I was wondering if anyone has had a Debug error saying it was in fgetc.c before, my program would then lock up, Ive checked how I used fgetc and it looks alright,
If anyone knows anything please let me know :-),
Thanks,

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!