echo \"hello"\>hello.c后如何退出
代码:
typedef struct Score
{//成绩结点,定义在#include之后
int rank;
double time;
int guess_times;
char name[16];
char date[26];
}node, * S_pointer;
typedef struct NodeHead
{//链表头结点,定义在#include之后
int length;
S_pointer head;
S_pointer handle;
S_pointer temp;
S_pointer tail;
}list;
============
使用如下:在main()函数里
list.length=0;
list.temp=NULL;
list.handle=NULL;
list.head=NULL;
list.tail=NULL;
{//成绩结点,定义在#include之后
int rank;
double time;
int guess_times;
char name[16];
char date[26];
}node, * S_pointer;
typedef struct NodeHead
{//链表头结点,定义在#include之后
int length;
S_pointer head;
S_pointer handle;
S_pointer temp;
S_pointer tail;
}list;
============
使用如下:在main()函数里
list.length=0;
list.temp=NULL;
list.handle=NULL;
list.head=NULL;
list.tail=NULL;
这样使用编译器提示如图:
附件: |
文件注释: 源代码 guess_number.c [8.96 KiB] 还未被下载 |
文件注释: 编译错误提示 Screenshot-2.png [ 177.52 KiB | 被浏览 4 次 ] |
作者: rufen 发布时间: 2011-02-09