登录
首页 » 文件处理 » 读写文本文件。 1 创建一个文本文件。 2 向文件中写入数据(数据行数不小于10条)。 3 从文件中读取数据,并显示读取结果。 读写二进制文件。 1 创建一个二

读写文本文件。 1 创建一个文本文件。 2 向文件中写入数据(数据行数不小于10条)。 3 从文件中读取数据,并显示读取结果。 读写二进制文件。 1 创建一个二

于 2022-10-16 发布 文件大小:115.30 kB
0 158
下载积分: 2 下载次数: 1

代码说明:

读写文本文件。 1 创建一个文本文件。 2 向文件中写入数据(数据行数不小于10条)。 3 从文件中读取数据,并显示读取结果。 读写二进制文件。 1 创建一个二进制文件。 2 向文件中写入数据(数据行数不小于10条)。 3 从文件中读取数据,并显示读取结果。-read and write text files. 1 Create a text file. Two documents to write data (data not less than a few line 10). Three read from the file data, and display the results read. Reading and writing binary files. A creation of a binary files. Two documents to write data (data not less than a few line 10). Three read from the file data, and display the results read.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • PIC 4 位数液晶显示接口
    /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*项目 016-4 位数液晶模块的接口CCS 编译器由 Michel 柴 (c) 2004 年 9 月。http://users.skynet.be/bk317494/---bavin@skynet.be-----......享受 !仅用于个人或教育的开放源码。*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////#include < 18f452 h =""> / / 设备选择#device adc = 10 * = 16#fuses XT、 NOWDT、 NOPROTECT、 NOLVP、 放、 NOBROWNOUT、 NOOSCSEN、 CCP2C1、 NOSTVREN、 NODEBUG#use delay(clock=4000000) / / 4 兆赫 !ADC 不是最优 20 MhZ + 电力消费双打#use rs232 (波特率 19200,传输分类 = = PIN_C6,垃圾车 = PIN_C7)#use i2c (主,sda = PIN_C4,沙田至中环线 = PIN_C3,快速)#zero_ram#PRIORITY#use fast_io(A)#use fast_io(B)#use fast_io(C)#use fast_io(D)#use
    2022-07-17 12:47:31下载
    积分:1
  • 查看字库ttf的导出数据,包括单个表的导出,…
    查看字库文件ttf的导出数据,包括单个表的导出,字形数据的导出。来自microsoft-View library of documents ttf derived data, including a single table is derived, font data is derived. From microsoft
    2022-01-30 22:35:18下载
    积分:1
  • 用vb.net编写的源码,列出系统中的及显示此在系统中的图标(自身标的图标)。非常好的。...
    用vb.net编写的源码,列出系统中的文件及显示此文件在系统中的图标(文件自身标的图标)。非常好的。-vb.net prepared with the source code, listing system and the documents show this file in the system"s icon (the subject of its own document icon). Very good.
    2023-04-27 03:30:04下载
    积分:1
  • windows拷贝的接口,比window自带的漂亮还可以自己定制
    windows拷贝的接口,比window自带的漂亮还可以自己定制-copy windows interface than window
    2022-03-15 03:26:12下载
    积分:1
  • File类应用实例,的打开、新建、移动、复制、删除
    File类应用实例,文件的打开、新建、移动、复制、删除-File type application examples, documents opened, new, move, copy, delete
    2022-03-31 16:07:17下载
    积分:1
  • 用vb.net写的把access转为xml的源代码。为自己亲手创作。有的下载网站已提供下载。如果要看编译好的程序,在网上搜索“access数据库生成xml...
    用vb.net写的把access转为xml文件的源代码。为自己亲手创作。有的下载网站已提供下载。如果要看编译好的程序,在网上搜索“access数据库生成xml文件”即可找到。-Using vb.net write access to xml document to the source code. For their own creative hands. Some download sites have been available for download. If the compiler depends on a good program, in-line search access the database to generate xml document you can find.
    2023-08-30 15:10:04下载
    积分:1
  • 保存日志,以备后续问题的查找,方便技术人员的沟通
    保存日志,以备后续问题的查找,方便技术人员的沟通-To save the log to prepare for follow-up questions to find, to facilitate communication between technical staff
    2022-05-27 15:26:49下载
    积分:1
  • 本软可以将frotran程序的框架全部列出来,能让程序之间的互相调用关系看起来一目了然,同时在一个大型的程序中间查找变量起来特别的方便,不仅可以显示出所在的行...
    本软件可以将frotran程序的框架全部列出来,能让程序之间的互相调用关系看起来一目了然,同时在一个大型的程序中间查找变量起来特别的方便,不仅可以显示出所在的行数,而且,在查找到的内容里面双击就可以到达相应的位置,对用fortran编程的人来说,我认为还是一个不错的工具。-the software can be frotran the procedures set out in the framework of all, procedures can call among the relations seem clear, at the same time a large-scale search procedures intermediate variables is particularly convenient, not only can demonstrate that the line number, but in search of the contents inside can be reached double-click on the corresponding position, using FORTRAN programming to the people, I believe it is a good tool.
    2022-07-03 23:30:25下载
    积分:1
  • CFile.Open()的使用说明
    CFile file; CFileException fe; //打开文件 if(!file.Open(lpszPathName,CFile::modeRead|CFile::shareDenyWrite,&fe)) {    ReportSaveLoadException(lpszPathName,&fe,FALSE,AFX_IDP_FAILED_TO_OPEN_DOC);       return FALSE; } CFIIE类是MFC的文件类的基类,它直接提供无缓冲的二进制 磁盘I/O设备,并且通过它的派生类可以提供对text文件和内存文件的存取。CFILE与CArchive类一起提供对MFC序列化的支持。
    2022-08-18 11:25:14下载
    积分:1
  • vc++档与视图之间分离的示例程序,学习
    vc++文档与视图之间分离的示例程序,学习文档-视图相互作用函数的程序-vc++ document and view examples of the separation between the procedures, study documentation- view of the interaction function of the procedures
    2022-04-02 02:49:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载