/*
* 1.cpp
*
* Created on: 2011-8-15
* Author: san
* 建立一个简单的链表且输出
*/
# include <stdio.h>
//# define NULL 0
struct student
{
long num;
float score;
struct student * next;
};
int main(void)
{
struct student a;
struct student b;
struct student c;
struct student * head;
struct student * p;
a.num = 10100; a.score = 87;
b.num = 10200; b.score = 98;
* 1.cpp
*
* Created on: 2011-8-15
* Author: san
* 建立一个简单的链表且输出
*/
# include <stdio.h>
//# define NULL 0
struct student
{
long num;
float score;
struct student * next;
};
int main(void)
{
struct student a;
struct student b;
struct student c;
struct student * head;
struct student * p;
a.num = 10100; a.score = 87;
b.num = 10200; b.score = 98;