Jump to content
  • Advertisement
Sign in to follow this  

Resource file IO in C++

This topic is 2164 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

Hello all.

I am creating a project in C++.
Essentially the user creates a text file alongside the program, then the program reads this, and runs, using these values for parts of the output.

The user could then share their 'version' of the program with their friends, their 'version' being the version where they have edited the text file to some custom values of their choice.

I created this, but I would like that after the user shared their 'version', the new user cannot see the original created text file, but the new user's program will run using the original user's text file values.

I am aware in Mac OSX resources are stored inside the .app bundle. Is there a way for a program to (when given the instruction), copy an external text file into it's own 'app bundle'?

I'm sorry for the rather poor explanation wacko.png



Share this post

Link to post
Share on other sites
Sign in to follow this  

  • 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!