自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(18)
  • 收藏
  • 关注

原创 读《这样读书就够了》有感

信管1142             曾国营           201411671201          这本书讲述的是成人学习以及拆书阅读,它提倡的是片段阅读而不是全部阅读。跟大学生的学习有相似之处,他们把学习看作是一种负担,而且内部负载和外部负载太多,例如职场家庭工作太多,以及个体不断发展的生活期望,没有其他生存余力,而大学生跟他们一样克服不了对学习的恐惧,无可非议的是培训课的价值。

2015-10-24 22:56:22 700

原创 javascript入门基础(mooc笔记)

1.在html中插入javascript代码:在body前插入成对的”text/javascript”>标签之后 在标签的中间插入javascript的代码  2.Javascript的代码放在body或者head中都可以 如果是放在head中就先解析javascript的代码 然后再解析其他代码 放在body的其他地方则读取到这段代码的时候才解析 3.将js代码和html代码分开写 html

2015-10-23 23:13:16 456

原创 心理学-情感与情绪(mooc笔记)

1、什么是情绪? 七情(喜,怒,哀,惧,爱,恶,欲)     从现代心理学的角度来分析,喜,怒,哀,惧,厌恶是情绪。爱是一种复合的人类的感情。欲望是跟人类的动机相关联的心理活动,所以它不是一种情绪。 心理学家认为,情绪是我们对内外在刺激的一种主观的反应。这种主观反应包括我们的主观的感受是愉快,放松,积极,兴奋。同时也包括我们的客观的评价,生理的反应,以及与之相关的行为的倾向性。     情

2015-10-23 23:10:52 2710

原创 7.11

#include class Date { int month; int day; int year; public: Date(){} Date(int i) {day=i; month=0; year=0;} Date(int y,int m,int d) {year=y; month=m; day=d; } void print() { co

2015-06-04 08:25:34 368

原创 7.10

用友元函数重载运算符‘+’和‘-’,将两个二维数组相加相减,要求第一个数组的值由构造函数设置,另一个由键盘输入。#include class base { private: int a[2][2]; public: base(int a,int b,int c,int d); base(){} void input(); friend base operator-(base& x,bas

2015-06-04 08:01:13 662

原创 5.19

设计一个虚基类base,包含姓名和年龄私有数据成员以及相关的成员函数;由他派生出领导类leader,包括职务和部门私有数据以及相关的成员函数;再由base派生出工程师类engieer,包括职务和部门私有数据以及相关的成员函数;然后由leader和engieer,派生出主任工程师类chairman。#include #include using namespace std; class Person

2015-06-01 22:16:00 417

原创 6.14

要求建立3个继承container的派生类cube、sphere和cylinder,让每一个派生类都包含虚函数surface_area()和volume(),分别用来计算正方体、球体和圆柱体的表面积及体积。要求写出主程序,应用c++的多态性,分别计算体积和表面积(手动输入数据)。   #include using namespace std;  class container{      

2015-05-11 22:48:23 774

原创 6.13

定义基类Base,其数据成员为高h,定义成员函数disp为虚函数。然后再由Base派生出长方体类Cuboid与圆柱体类Cylinder。并在两个派生类中定义成员函数disp为虚函数。在主函数中,用基类Base定义指针变量pc,然后用指针pc动态调用基类与派生类中虚函数disp,显示长方体与圆柱体的体积。 #include using namespace std; class Base{ p

2015-05-11 22:36:07 635

原创 5.18

编写一个学生和教师数据输入和显示程序,学生数据有编号、姓名、班号和成绩,教师数据有编号、姓名、职称和部门。要求将输入和显示设计成一个类person,并作为学生数据操作类student和教师数据操作类teacher的基类。 #include #include using namespace std; class person{ protected:  int Num;  char

2015-05-07 23:23:07 367

原创 第四章课后作业

4.17 #include  using namespace std; class Student{ public:void get_student();     void display(); private:int num;int score; }; void Student::get_student(){  cin>>num>>score; } void Stude

2015-04-28 08:54:46 1016

原创 4.17

 #include using namespace std; class Student{ public:void get_student();     void display(); private:int num;int score; }; void Student::get_student(){  cin>>num>>score; } void Student::

2015-04-20 17:56:01 453

原创 随堂作业(1-4)

 题目:     定义一个学生类和一个老师类。学生类有学号、姓名、两门或多门成绩数据,老师有职工号和姓名数据。学生对象能查看自己成绩信息,教师能对学生成绩进行录入。编程实现初始化一个或多个学生信息,初始化一个老师信息。实现学生成绩的输入和相关学生的成绩查看功能。 #include #include using namespace std; class student {  

2015-04-20 17:12:55 586

原创 3.24

#include    using namespace std;   class Date   {       private :           int year;           int month;           int day;       public :            void getyear();           void getmont

2015-04-13 14:58:24 407

原创 实验2

#include using namespace std; class magic { public: void getdata(); void setfirstmagic(); void generatemagic(); void printmagic(); private:  int m[4][4];  int step;  int first;  int sum;

2015-04-08 18:24:57 430

原创 3.23

#include   using namespace std;  const double PI = 3.14159;  double circle_perimeter(double radius)   {  return 2*PI*radius; }  double circle_area(double radius)   {  return PI*radius*radius; 

2015-04-01 22:31:28 474

原创 3.22

#include   using namespace std;  class Circle { public:  float Area();     Circle();             Circle(float r); public:  float Radius; }; Circle::Circle() {     Radius=1.0; } Circle

2015-04-01 14:53:26 474

原创 2.30

#include #include using namespace std; double sroot(int n) {    return(double)sqrt((float)n) } double sroot(long long n) {    return(double)sqrt((long double)n) } double sroot(double n) {

2015-04-01 14:42:27 384

原创 2.29

#include using namespace std; int main() {    int i;    int *p=new int[20];    p[0]=1;    pi[1]=1;    for(i=2;i    p[i]=p[i-2]-p[i-1]; cout delete p; return 0; }

2015-04-01 14:35:50 367

空空如也

空空如也

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

TA关注的人

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