Click here to Skip to main content
15,910,358 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am new to this topic. My understanding about this came from this thread :
Creating a custom data structure associated with a file extension in C++[^]

Resolved my confusion about file extension vs data structure inside the file. To some extend unrelated.

What I want to do is, Create a container for a lot of files, so that they are loaded/unloaded into the memory dynamically based on the load.

For now, I am at the stage where I can create a data structure, then have to embed inside a container. I am a novice in this topic. A small example or perhaps an algorithm will help me get started.

Any help appreciated !

What I have tried:

Going through articles :
http://www.cplusplus.com/doc/tutorial/files/
http://www.ocoudert.com/blog/2011/07/09/a-practical-guide-to-c-serialization/
Posted
Updated 30-May-16 13:17pm
v2

1 solution

 
Share this answer
 
Comments
fashaa 30-May-16 19:44pm    
Spacibo, "Serialization" is the right word to get started. I have one more question, is the situation the same with Java as well ?

Never mind, I found something similar in Java. Wondered if its very complicated.
Garth J Lancaster 30-May-16 20:47pm    
>> is the situation the same with Java as well ?

da ! (more or less its the same)
fashaa 30-May-16 20:48pm    
Thank you, indeed its the same, after looking up, found nice tutorials !
Sergey Alexandrovich Kryukov 30-May-16 21:04pm    
Agree with Garth...
—SA
Sergey Alexandrovich Kryukov 30-May-16 21:04pm    
Пожалуйста. You are very welcome.
It was the adequate question.
Good luck, call again.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900