Getting Garbage Values while reading struct data from a binary file

后端 未结 2 1022
无人及你
无人及你 2021-01-03 18:48

Hi guys in my previous question, I was able to get the data of a struct to be loaded on a file, but now the issue is I\'m getting garbage value while retrieving it.

2条回答
  •  清酒与你
    2021-01-03 19:30

    It seems you forgot to load your setting into file.

    int main(int argc, char *argv[])
    {
        Settings.ResetSettings();  // insert code here
        Settings._SettingsClass();
        //    cout<

提交回复
热议问题