Robin Percival Vibar wrote:
how am i suppose to do it???
Yes, that's a good question: if you don't want to loose your changes every time your program exits then you have to use permanent storage, that is the hard disk (or another persistent medium like, for instance, flash memory of pen drives). Since you don't want to use a text file, I suppose a binary file is OK for you. You could design your own protocol or use object serialization. If you are using MFC, then you are lucky, since such framework provides good support to serialization, see "Serialization in MFC"[^].
THESE PEOPLE REALLY BOTHER ME!! How can they know what you should do without knowing what you want done?!?! -- C++ FQA Lite