如何检查文件中特定项的条目数 [英] How to check the number of entries of a particular item in a file

查看:74
本文介绍了如何检查文件中特定项的条目数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我关闭应用程序,并重新启动相同的..将使用预加载的信息覆盖...我需要避免这个

Whenever i close the App, and restart the same..it will get overwrite with preloaded informations...i need to avoid this

推荐答案

你可以保存用户在文件中的设置,并在应用程序启动时检索它们。一种有效的方法是使用MFC序列化。例如,请参阅MFC中的序列化 [ ^ ]。
You may save the user's settings in a file and retrieve them at application start. An effective way to do that is using MFC serialization. See, for instance "Serialization in MFC"[^].


这篇关于如何检查文件中特定项的条目数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆