INI文件操作及其在BACnet路由器设计中的应用研究.pdfVIP

  • 4
  • 0
  • 约1.06万字
  • 约 4页
  • 2018-01-11 发布于广东
  • 举报

INI文件操作及其在BACnet路由器设计中的应用研究.pdf

第25卷第4期 计 算技术 与 自 动 化 V01.25,No.4 200 Dec.2006 6年12月 andAutomation ComputingTechnology 文章编号:1003—6199(2006)04—0182—04 INI文件操作及其在BACnet路 由器设计中的应用 李检辉,王清阳,胥布工 (华南理工大学自动化科学与工程学院,广东广州 510640) 摘 要:详细地介绍如何应用VC++对ini文件进行读写操作,以及其在BACnet路由器中的应用,如 设备的初始化,参数的设定和读写,路由表的记录,等等。应用VC++操作“文件方便灵活,系统在外部 就可以进行数据的更新。尤其是在编写程序的过程中,当要访问的数据库路径改变时,只需要在ini文件中 直接修改,而省去源代码中多处修改的麻烦。因此在实际的VC++应用程序开发中,适当地利用inj文件, 可以很好地改善程序的可维护性。 关键词:ini文件;BACnet;路由器;VC++ 中图分类号:TP273 文献标识码:A INI andIts File OperationApplication intheBACnetRouter Design LIJian—hui,WANG Qing—yang,XUBu—gong ofAutomationScienceand (Coaege Engineering,SCUT,GuangZhouGuangDong510640,China) Abstract:Thisintroduceshowto VC++tOreadandwriteinifileindetail,whichis intheBACnet paper apply applied Router as or router SO design,suchinitializingdevice,settingparameter,readingwritingparameter,recodingtable,andon.Ap— VC++tOinifileis convenientandflexible.Itisfeasibleto thedataoutsidethe theac— plying operate very update system.When cess ofdatabaseneeds inthe of canbe intheinifile in- path changingprogresswritingprogram,itmodifiedexpedientlydirectly steadofinthesourcecode.So ini inthe of file the the applyingproperlyVC++applicationdevelopingimprovesmaintainability

文档评论(0)

1亿VIP精品文档

相关文档