+ 3

How to write vector into binary file? (by value)

*I understand that technically this is impossible (the file will be written pointers to vector's elements in the heap). So I'm looking for a way allowing to do so with minimal code changes

5th Feb 2017, 10:50 AM
SUPER_S
SUPER_S - avatar
3 Réponses
+ 6
I don't know how is it done. Maybe this StackOverflow link can help you - http://stackoverflow.com/questions/14089266/how-to-correctly-write-vector-to-binary-file-in-c#
5th Feb 2017, 1:46 PM
Manthan Raja
Manthan Raja - avatar
+ 5
@SUPER_S The pleasure is all mine. I am happy that I could help you. :)
5th Feb 2017, 2:18 PM
Manthan Raja
Manthan Raja - avatar
+ 2
@Manthan Raja Thank you
5th Feb 2017, 2:14 PM
SUPER_S
SUPER_S - avatar