¡@

Home 

c++ Programming Glossary: settingid

Getting Garbage Values while reading struct data from a binary file

http://stackoverflow.com/questions/19531797/getting-garbage-values-while-reading-struct-data-from-a-binary-file

settings.bin const int NoOfSettings 5 struct Setting int SettingID int SettingINTValue double SettingDOUBLEValue char SettingCHARValue.. SettingName istream operator istream _is Setting _s _is _s.SettingID _is _s.SettingINTValue _is _s.SettingDOUBLEValue _is _s.SettingCHARValue.. ostream operator ostream _os const Setting _s _os _s.SettingID _os _s.SettingINTValue _os _s.SettingDOUBLEValue _os _s.SettingCHARValue..