mercredi 18 mars 2015

Data Structure to store values from lib calls

One lib file is loaded by application many times. Inside the lib files, I do some specific operations(I am storing some data in one map<>). If the lib is loaded many times, I need the data (in the map) to be summarized to one data set from the many times call of lib. I am using C++ in Unix platform for this. Please help me with which data structure can I use? I can write data in one file which I can update for different lib calls but I dont want to do that. Please suggest some work around.


Aucun commentaire:

Enregistrer un commentaire