C++ Serialize/Deserialize std::map<int,int> from/to file
Asked 2013-04-18T06:28:20.040
16
I have an std::map.
I would like to know if I can write it to a file (and also read it from a file) in like 1 line using fwrite, or if I need to write/read each value separately.
I was hoping that since is nothing special, this might be possible.