自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(23)
  • 资源 (1)
  • 收藏
  • 关注

原创 C++课程设计:学生成绩管理系统

/*要求:设立程序管理学生如下信息:学生学号、姓名、班级,语文、数学、英语成绩。 至少要有10名以上学生。能够实现根据以下关键字查询:学生姓名 、学号、班级、课程名称。 能够实现按照单科成绩、总成绩、平均成绩、学号排序。 能够实现学生信息的插入、删除和修改。能够查询每个课程的最高分、最低分及相应学生姓名、班级和学号。能够查询每个班级某门课程的优秀率(9

2015-07-02 20:31:25 24318 7

原创 作业8.18

#includeusing namespace std;template class add{ T a,b,c; public : add(T e,T f,T g); T sum();};template add :: add(T e,T f,T g) { a=e; b=f; c=g; } template T add ::sum()

2015-06-29 19:14:17 365

原创 作业8.17

#includeusing namespace std;template class add{ T a,b,c; public : add(T e,T f,T g) { a=e; b=f; c=g; } T sum() { return a+b+c; }};int main(){ add p1(1,2,3); cout<<

2015-06-29 19:05:09 398

原创 作业8.15

#includeusing namespace std;template class max{ public: max(T f,T b,T c,T d,T e) { a[0]=f; a[1]=b; a[2]=c; a[3]=d; a[4]=e; } T maxz() { T max1=a[0]; for(int

2015-06-29 17:41:25 376

原创 作业7.12

#include#includeusing namespace std;class Matrix{public: int m[2][4]; Matrix(){} ~Matrix(){} Matrix operator+(Matrix&,Matrix&); friend istream& operator<<(istream,Matrix &); friend

2015-06-29 15:58:18 369

原创 作业7.11

#includeusing namespace std;class Date{public: Date() {} Date(int a) { day=a; year=0; month=0; } Date(int y,int m,int d) { year=y; month=m; day=d; } void print() { cout<<ye

2015-06-29 13:17:38 357

原创 作业7.10

#include class erwei { private: int a[2][2]; public: erwei(int a,int b,int c,int d); erwei(){} void input(); friend erwei operator-( erwei& x, erwei& y); friend

2015-06-29 12:16:09 288

原创 作业6.14

#include using namespace std; class container { double radius; public: container(double radius1) {radius=radius1;} double Getterr() {return radius;} virtual

2015-06-29 09:41:30 357

原创 作业6.13

#include using namespace std; class Base { double h; public: Base(double a) {h=a;} virtual void disp()=0; double Getterh() {return h;} }; class Cuboid:pu

2015-06-29 09:15:50 321

原创 作业6.12

#include using namespace std; class area_cl { protected: double height; double width; public: area_cl(double a,double b) { height=a; width=b;

2015-06-29 09:09:00 542

原创 作业5.19

#include#includeusing namespace std;class base{public: base(string a,int b) { name=a; age=b; } void show() { cout<<"姓名:"<<name<<" "<<"年龄:"<<age<<endl; }private: string name; in

2015-06-28 19:36:00 301

原创 5.18

#include#includeusing namespace std;class person{public: person(int n,string a) { num=n; name=a; } void show() { cout<<"编号:"<<num<<" "<<"姓名:"<<name<<endl; }private: int num; stri

2015-06-28 17:20:39 338

原创 C++作业第四章实验4

#includeusing namespace std;class Student{public: void account(double a) { score=a; total_score+=score; count++; } static double sum() { cout<<"成绩之和:"<<total_score<<endl; return tot

2015-05-29 23:04:20 470

原创 C++第四章实验3

#include#includeusing namespace std;class Location{public: Location (double c,double d) { x=c; y=d; } double Getx() { cout<<"x="<<x<<endl; return x; } double Gety() { cout<<"y="

2015-05-29 20:49:48 372

原创 C++作业4.22

#include#include#includeusing namespace std;class point{public: point(int a,int b) { x=a; y=b; } void show() { cout<<"横坐标:"<<x<<" "; cout<<"纵坐标:"<<y<<endl; }friend void dist();

2015-05-29 19:32:14 369

原创 C++作业4.21

#includeusing namespace std;class student{public: student(int nu,string a,double s) { num=nu; name=a; score=s; } void show1() { cout<<"学号:"<<num<<endl; // cout<<"姓名:"<<name<<endl;

2015-05-29 19:02:26 358

原创 C++作业4.20

#includeusing namespace std;class book{public: book(int q) { qu=q; price=10*q; } void show() { cout<<"qu*price="<<qu*price<<endl; }private: int qu; int price;};int main(){ book

2015-05-29 17:05:33 319

原创 C++作业4.19

#includeusing namespace std;class book{public: book(int q) { qu=q; price=10*q; } void show() { cout<<"qu*price="<<qu*price<<endl; }private: int qu; int price;};int main(){ book

2015-05-29 16:56:07 317

原创 C++作业4.18

#includeusing namespace std;class student{public: student(int n,double s) {num=n; score=s;} void showdata() { cout<<"学号:"<<num<<endl; cout<<"成绩:"<<score<<endl;} friend void max(student *p)

2015-05-29 16:25:39 361

原创 C++作业4.17

作业

2015-05-28 20:54:01 364

原创 第三章魔方函数

#includeusing namespace std;class magic{public: void getdata(){ cout<<"请输入起始值:"; cin>>first; cout<<"请输入差值:"; cin>>step; } void setfirstmagic(){ int i,j; m[0][0]=first; cout<<"初

2015-05-02 11:07:25 606 1

原创 C++作业2第三章3.22-3.24

习题3.22:#includeusing namespace std; const float p=3.14;class Circle{private: float radius;public: Circle(float r){ radius=r;} float area(){ireturn p*radius*radius;} void showArea(

2015-04-02 08:44:39 575 1

原创 C++作业1

习题2.29::#includeusing namespace std;int main(){ int *p=new int[20]; *p=1; *(p+1)=1; cout<<*p<<"\t"<<*(p+1)<<"\t"; p=p+2; for(;*p<20;p++) { *p=*(p-1)+*(p-2); cout<<*p<<"\t"; if(*p%3==

2015-03-26 09:37:43 406 2

Java图书管理系统

Java图书管理系统 +源代码,版权归原作者所有

2015-12-28

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除