Skip to main content
GameDev.net gamedev.net
🔒 Locked

Lesson 10 Error

Started by Hola Oct 29, 2004 at 4:33 PM 1 replies 600+ views
Original Post
Hola
Hola
Im using teh downloaded source file from lesson 10 for VC++, and im getting a runtime error. After it asks me if I want to run it in fullscreen mode, it gives me a error ive never seen before. Debug Assertion Failed! Program: file name here File: fgets.c Line: 60 Expression: str != NULL For information....blah blah blah (Press Retry to debug the application) "Abort" "Retry" "Ignore" None of those options make it work, any help needed. -Matt P.S. my help files dont work
The Best Is Yet To Come
Enigma
Enigma
Most likely you do not have the world.txt data file, or you have it in the wrong place. Unfortunately this lesson does no error checking on the file, so if it can't find the file it just crashes.

Enigma
Hola
Hola
Ahahahaha, shut up, I'm an idiot, i forgot to change where it could find the data file. I'd gotten used to it with textures, but I haven't had a data file yet. Thx man!


-Matt
The Best Is Yet To Come

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.