1) If I use a full path, I won't be able to move the code around by email or flashdrive, something I puit high value in. Why "/" and not "\", the way Explorer does it?
2) My OS is an updated, genuine version of Windows XP. I think it can handle opening files.
The people on msdn forums said that ios::in means that the file has to exist already. That makes sense, so now we have the problem, anyone have a solution?
What I want to do is this:
1) Look for "hssav.sav" and read the highscores for display, If it doesn't exist, create it with 0s for high scores.
2) Display the scores throughout the game.
3) When the player dies (and they will, ha ha), compare their scores. If the player did better than the last high score, write his score to "hssav.sav".
If I can only open the fstream object in ios::out and ios::binary, will I be able to read from it? Maybe I should create more than one object?