首页 | 本学科首页   官方微博 | 高级检索  
     

在C语言中实现二进制格式数据输入输出的方法探讨
引用本文:封跃鹏,樊强.在C语言中实现二进制格式数据输入输出的方法探讨[J].电脑开发与应用,1999(5).
作者姓名:封跃鹏  樊强
作者单位:国家环境保护局标准样品研究所!北京100029
摘    要:在C、C++语言编程环境中,针对系统没有提供二进制格式数据输入输出(I/O)库函数的情况,用C语言的指针技术实现了这种格式数据的I/O,文件的读、写效率平均提高3倍,空间效率提高2.5倍,单精度读写效率提高近6倍。

关 键 词:指针技术  二进制  C  C++  输入/输出  数据处理

Application of Soft Structure Technique in Development of MIS System
Qin Yang et al.Application of Soft Structure Technique in Development of MIS System[J].Computer Development & Applications,1999(5).
Authors:Qin Yang
Affiliation:Qin Yang et al
Abstract:In C, C++language programming environment,the library function of binary format data I/O is not provided in thesystem. The paper has implemented I/O of the format data with C Language pointer technique,which obviously improves file reading,writingefficienciesby a factor of 3,space efficiency by a factor of 2. 5 and single precision reading and writing efficiencies neariyby a factor of 6.
Keywords:pointer technique  binary  C  C++  I/O  data procesing  
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号