xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

資源簡介

使用VC 6.0編譯器

資源截圖

代碼片段和文件信息

#include??
#include??
#include??
#include??
#include??
#include??
#include??
#include??
#include??

#define?LEN?sizeof(struct?student)?
using?namespace?std;?
int?n=0;?//定義一個全局變量統計學生人數?
struct?student//定義一個學生信息的結構體?
{?
char?name[20];?//用來存放姓名的?
char?sex[20];?//用來存放性別的?
char?yuanxi[20];//用來存放院系的?
long?int?id;?//用來存放學號的?
int?score[4];?//用來存放分數的?
int?total;?//用來存放總分數的?
struct?student?*next;??
};?
vector??stu;?
class?Information??
{?
public:?
Information()?;?//構造函數.?
~Information()?;?//析構函數.?
student?*creat();//建立鏈表函數。?
void?output(student?*head);?
int?count(student?*head);//定義函數count()統計考生總數??
student?*insert(student*head);//指針函數*insert()用來添加考生信息.?
student?*cancel(student?*headlong?int?num);//指針函數*cancel()用來刪除考生信息.?
student?*find(student?*headlong?int?num);?//指針函數*find()用來查找考生信息.?
void?inorder(student?*head);//定義inorder()函數將考生的總分從大到小排列并輸出?

評論

共有 條評論