2013年2月5日
摘要: 关于现行链表的简单应用!废话不多说!!#include<iostream>using namespace std;struct student{int num;struct student *next;};int main(){struct student *p,*q;q=p=(struct student *)malloc(sizeof(struct student));int m=3;while(m--){cin>>p->num;p->next=(struct student *)malloc(sizeof(struct student));if(m)p 阅读全文
posted @ 2013-02-05 16:08 @ 小浩 阅读(284) 评论(0) 推荐(0)
摘要: 说实话,这个程序和教务处管理系统没有什么区别!!!!还是废话不多说!!!请看程序!!!#include<iostream>#include<stdio.h>#include<math.h>#include<string.h>#include<algorithm>using namespace std;#define LEN sizeof(struct student)struct student{ int num;//学号 char name[20];//姓名 double foxscore;//fox成绩 double cscore 阅读全文
posted @ 2013-02-05 14:51 @ 小浩 阅读(529) 评论(0) 推荐(0)