Answer the question
In order to leave comments, you need to log in
How to store files for an application?
There is some application written in C ++ and using the SFML library.
And I don’t know how you can store, for example, images used in this program.
(So far, there is just a Resources folder and everything is there.)
Question: what are the ways to store files for the application, how to read them and overwrite them if necessary? And all this to do so that the user could not just take and look.
Answer the question
In order to leave comments, you need to log in
Use some kind of zip library, ZipLib for example, and store all the data in an archive. And name the archive data.dat so that no one guesses :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question