- 博客(11)
- 资源 (2)
- 收藏
- 关注
原创 学生信息系统完整版
#include<bits/stdc++.h>using namespace std;class Student //数据类;{ string name; int no; int score[3]; float average; int order; public: Student(int id,string na,i...
2018-04-29 00:03:32 1775 1
原创 学生信息系统操作类delete详解
#include<bits/stdc++.h>using namespace std;class Student //数据类;{ string name; int no; int score[3]; float average; int order; public: Student(int id,string na,i...
2018-04-28 23:15:21 553
原创 学生信息系统操作类change详解
#include<bits/stdc++.h>using namespace std;class Student //数据类;{ string name; int no; int score[3]; float average; int order; public: Student(int id,string na,i...
2018-04-28 22:47:29 261
原创 学生信息系统query功能详解
#include<bits/stdc++.h>using namespace std;class Student //数据类;{ //私有成员放在第一段,可以省略关键字private string name; int no; int score[3]; float average; int order; public: ...
2018-04-28 19:39:20 665
原创 学生信息系统数据类
#include<bits/stdc++.h>using namespace std;class Student //数据类;{ public: //成员函数; Student(int id,string na,int x,int y,int z):name(na),no(id) //含参构造函数; { score...
2018-04-28 11:48:43 414
原创 学生信息系统操作类add功能详解
#include<bits/stdc++.h>using namespace std;class Student //数据类;{ //私有成员放在第一段,可以省略关键字private string name; int no; int score[3]; float average; int order; public...
2018-04-28 11:48:16 585
原创 类总结(二)
一.类的其它成员 :常成员 、静态成员、友元1.常成员(1)常成员Ø常数据成员为使用const说明的数据成员 如果在一个类中说明了常数据成员,那么构造函数就只能通过初始化列表对该数据成员进行初始化,而任何其他函数都不能对该成员赋值。且被初始化后,其值不能改变。Ø在类的成员函数说明后面可以加const关键字,则该成员函数成为常量成员函数class Mclass{ pub...
2018-04-25 12:36:21 136
原创 类实例介绍
访问对象的共有成员和用指针访问对象成员#include<iostream>using namespace std;class Tclass //定义Tclass类;{ public: int x,y; void print() { cout<<x<<","<<y<<...
2018-04-21 20:02:17 223
原创 类的心得
1.在过程化程序设计中,程序的基本单位是函数,函数之间通过参数传递数据,使用语言系统提供的对基本数据类型的操作方式。而在面向对象程序设计中,程序的基本单位是类。类是用户定义的数据和操作这些数据的函数的封装,类的对象使用自己的方法完成对数据的操作。2.类定义和使用时注意事项:1.在类的定义中不能对数据成员进行初始化。2.类的任何成员都必须指定访问属性,一般将数据成员定义为私有成员或保护成...
2018-04-21 20:01:36 154
原创 类总结(一)
类是面向对象程序设计实现信息封装的基础,是一种用户自定义类型。一.类1.类的定义:类是对具有相同属性和行为的一组对象的抽象与统一描述。属性以数据表示,称为类的数据成员。行为通过函数实现,称为成员函数。c++类定义的格式:class 类名{ public: 公有数据成员和成员函数; protected: 保护数据成员和成员...
2018-04-21 19:52:52 287
SSM框架所需使用的jar包(全)
2020-06-20
spring-ioc需要的包(5)个.rar
2020-06-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人