I'm new to C++. My application needs to read and write a data file containing hundreds of different values. I want to access those data from a couple dozen different dialog boxes.
What's the "best" way to do this in C++/MFC? Should I create a class to hold the data, give it a couple hundred static members, and access each of them "globally" via something like CDataClass::m_fTime, CDataClass::m_fVelocity, etc.?
Or is there a better way using templates or MFC list collection classes?