H
H
Hayoshiko2018-10-20 16:16:04
C++ / C#
Hayoshiko, 2018-10-20 16:16:04

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

2 answer(s)
P
Pavel, 2018-10-22
@Hayoshiko

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 :)

A
Alexander Ananiev, 2018-10-21
@SaNNy32

Store resources in a separate dll or database, e.g.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question