Home > Software engineering >  Consult, fourth, how to do?
Consult, fourth, how to do?

Time:11-14

CodePudding user response:

This question is really a bit lack of ideas,
May be related to your teacher has no experience in actual project,
At this time to save the key function of need is persisted to disk, rather than deposit the data to the object (this is usually exist in memory, power lost is lost)
Whether to save to file, database, providing storage capability of the cluster, focus always let it will not be lost, can reload
So the MFC can you take these binding to a variable, such as Edit binding for a cstrings
Most of the control directly binding, a call to a the UpdateData () will automatically save to your class, for you can save the picture its contents into a BLOB, this should not be used (DDX
https://docs.microsoft.com/zh-cn/cpp/mfc/dialog-data-exchange? View=MSVC - 160