gsglive Posted July 7, 2008 Share Posted July 7, 2008 Hi, I am coding a game w/ save/load features in C++ I want a button to delete it self if the save file does not exist. The syntax which I am using is fopen("game.sav); How should i do it? - gsglive Link to comment Share on other sites More sharing options...
cppman Posted July 8, 2008 Share Posted July 8, 2008 Hi, I am coding a game w/ save/load features in C++I want a button to delete it self if the save file does not exist.The syntax which I am using is fopen("game.sav);How should i do it?Try this.http://www.codepedia.com/1/CppFileExists Miva OS Project Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now