C语言数据结构——简单行编辑(课程设计)
(2010-10-30 19:33:46)
标签:
it |
分类: C语言学习 |
学了一学期的数据结构,个人感觉该课程重在思想,只要思路正确,就肯定可以编出好程序来。选了简单行编辑的课程设计,里面主要用到的数据结构有指针链表。C语言方面用到了很多文件读写操作。
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <conio.h>
#include
<windows.h>
#define OK 0
typedef struct linedit
{
}linedit;
FILE
*fp,*pf;
linedit
*head;
int n=0,sum,delsizen,change=0,page=0,pflag=0;
int
x0,y0;

加载中…