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.

Edit
Report