I keep hearing about this Amazon thing. Maybe some day I will try it.

What is the best way to save STL data to a file?

I'm using Visual Studio 2008 with C++....
Permalink Ron 
April 14th, 2017 12:18pm
STL?
Permalink The Great Waldo 
April 14th, 2017 12:19pm
wat
Permalink Wabi-sabi 
April 14th, 2017 1:12pm
You probably need to study the concept of serialization.

MFC serialization: https://msdn.microsoft.com/en-us/library/6bz744w8.aspx
Permalink Io 
April 14th, 2017 1:15pm
Thanks IO, but I was never fond of MSFT serialization.... and few other MSFT "technologies"....
Permalink Ron 
April 14th, 2017 2:11pm
Oh it's dot.
Permalink Pestular Croaker 
April 14th, 2017 2:16pm
Standard Template Library. Kickin' it old school, yo.
Permalink Bored Bystander 
April 14th, 2017 2:24pm
>>I'm using Visual Studio 2008

Ha ha ha
Permalink Ducknald Don 
April 14th, 2017 2:24pm
>>I'm using Visual Studio 2008
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I believe your solution is solved in VS 2005. Please go back to that version. ;-)
Permalink WorldRover 
April 14th, 2017 2:28pm
No, avoid the odd version numbers, they always have bugs in the STL data to a file functions.
Permalink Ducknald Don 
April 15th, 2017 3:17am
The only thing that's both flexible and portable is writing your own serialization stuff that writes and then reads strings.

Once upon a time it would be XML formatted. But I find XML to be WAY too indented an cryptic.
Permalink SaveTheHubble 
April 15th, 2017 11:23pm

This topic is archived. No further replies will be accepted.

Other topics: April, 2017 Other topics: April, 2017 Recent topics Recent topics