Don't know how to ask it so I will explain situation.
I need to store a few compressed files. The original idea was to create a folder and store as many compressed files as were needed and also create a file that holds data about every compressed file.
However, I was not allowed to create many files and must only have one. I decided to create a compressed file which has a header about further data and after header keep compressed data. But this option has disadvantages, e.g. editing such file after it is created takes long time because it must be fully rewritten even if I want to add one more little file.
So, as I imagine, I need to create folder with some specific attributes and create as many files inside. Is this even possible?
I'm creating an app for Windows, so I can use any stuff that works on Windows, and I'm coding with C++.
NOTE: A single file is needed because, for example, it will be sent through e-mail and attaching many files is not an ideal solution.
NOTE: I don't need an algorithm for compression, I need some way to efficiently store everything in single file.