数据结构代码实现1——链式存储结构示例(用C++语言中的单链表来存储高等数学成绩单,设计存放学生成绩记录的结点类型,并输出)
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <iostream>
using namespace std;
#define null 0
//用单链表来存储
struct studentgrade2
{
int no;
char name[10];
double score;
studentgrade2 *next; //存放下一个节点指针
}; .




