• Advertisement
Sign in to follow this  

Resource file IO in C++

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

Thanks

mikenovemberoscar

Share this post


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

  • Advertisement