练习fwrite()和fread()函数的使用 方法。fwrite()函数的作用是将一个长度为29字节的数据块送到文件中(一个student_type类型结构体变量的长度为它的成员长度之和,即10+2+2+15=29)代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighte... Read More
posted @ 2010-02-25 16:26 齐心 Views(3039) Comments(0) Diggs(0) Edit
该题目主要考察文本文件字符的判断问题代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--#include<stdio.h>#include<conio.h>void main(){ FILE *fpa,*fpb; char ch... Read More
posted @ 2010-02-25 15:59 齐心 Views(1157) Comments(0) Diggs(0) Edit
员工信息结构体如下:[代码]本程序采用菜单进行控制,包含以下功能:1、链表的创建2、链表的插入(有序链表的插入)3、链表的插入(按指定位置插入)4、链表删除(按制定员工号删除)5、从文件读入链表内容6、保存链表内容到文件7、显示链表内容代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeH... Read More
posted @ 2010-02-25 10:01 齐心 Views(3016) Comments(0) Diggs(0) Edit