Computer Science Canada [HELP] saving / loading system minor issue |
Author: | tjmoore1993 [ Wed Apr 01, 2009 7:27 pm ] | ||||
Post subject: | [HELP] saving / loading system minor issue | ||||
I'm making this game and I've stumbled across a problem because I want to make the program bullet-proof. I've looked into the problem and I do not know how to code it. What I want to do is when my program is loading a file and the file is there it loads, but of course I got this working. The problem is when the file isn't there the program crashes. How would I make it so that the program gives some sort of an error and says something like please relocate the file or make sure it is in the proper directory.
Mod Edit: Remember to use syntax tags! Thanks ![]()
|
Author: | saltpro15 [ Wed Apr 01, 2009 7:30 pm ] |
Post subject: | RE:[HELP] saving / loading system minor issue |
I don't think you can, Turing can't handle that kind of thing, if this is a class project your teacher should overlook minor errors like that |
Author: | tjmoore1993 [ Wed Apr 01, 2009 7:42 pm ] |
Post subject: | RE:[HELP] saving / loading system minor issue |
This is a personal project and I am trying to push turing to its limits. |
Author: | Warchamp7 [ Wed Apr 01, 2009 8:02 pm ] | ||
Post subject: | RE:[HELP] saving / loading system minor issue | ||
I'm not 100% on the matter but try this
|
Author: | Dusk Eagle [ Wed Apr 01, 2009 8:34 pm ] | ||
Post subject: | Re: [HELP] saving / loading system minor issue | ||
You most definitely can do that!
|
Author: | tjmoore1993 [ Thu Apr 02, 2009 12:21 pm ] | ||
Post subject: | RE:[HELP] saving / loading system minor issue | ||
Thanks for the help I came up with this solution.
|