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

对如何实现以二进制方式读写C文件的方法探讨
引用本文:徐晓琦.对如何实现以二进制方式读写C文件的方法探讨[J].培训与研究,2002,19(5):21-23.
作者姓名:徐晓琦
作者单位:华中师范大学计算机科学系,湖北武汉430079
摘    要:在C语言中,件可以通过两种方式进行读写,即按本方式和按二进制方式,而后在读写效率及空间效率上往往要优于前。本阐述了以二进制方式读写c件的原理及特点,并利用c语言的指针技术实现了这种格式的数据读写,开发了几组用二进制方式读写件的c语言函数。

关 键 词:二进制方式  C文件  数据类型  指针技术  字节串  子程序
文章编号:1007-1687(2002)05-0021-03
修稿时间:2002年5月10日

A Brief Talk on how to Read and Write the Document of C in Binary Format
Xu Xiao-qi.A Brief Talk on how to Read and Write the Document of C in Binary Format[J].Training and Research-Journal of Hubei College of Education,2002,19(5):21-23.
Authors:Xu Xiao-qi
Abstract:In C language, the document can be read and written in both text format and in binary format, the latter is usually better in read-and-write efficiency and space efficiency. In order to read and write the document of C in binary format, this paper develops several read-and-write functions using the technique of pointer in language C, and introduces its principle and characteristics as well.
Keywords:binary  data type  technique cf pointer  word string  subroutine  
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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