1.2 实验内容和步骤...................................................................................................................5
1.2.1 实验内容 1.................................................................................................................5
1.2.2 实验内容 2.................................................................................................................6
1.2.3 实验内容 3.................................................................................................................6
1.2.4 实验内容 4.................................................................................................................6
实验 2 类和对象(一).....................................................................................................................7
2.1 实验目的...............................................................................................................................7
2.2 实验内容和步骤...................................................................................................................7
2.2.1 实验内容 1.................................................................................................................7
2.2.2 实验内容 2.................................................................................................................8
2.2.3 实验内容 3.................................................................................................................9
实验 3 类和对象(二)...................................................................................................................10
3.1 实验目的.............................................................................................................................10
3.2 实验内容和步骤.................................................................................................................10
3.2.1 实验内容 1...............................................................................................................10
3.2.2 实验内容 2...............................................................................................................11
3.2.3 实验内容 3...............................................................................................................11
3.2.4 实验内容 4...............................................................................................................12
实验 4 运算符重载...........................................................................................................................13
4.1 实验目的.............................................................................................................................13
4.2 实验内容和步骤.................................................................................................................13
4.2.1 实验内容 1...............................................................................................................14
4.2.2 实验内容 2...............................................................................................................14
4.2.3 实验内容 3...............................................................................................................14
4.2.4 实验内容 4...............................................................................................................14
实验 5 类模板和 string 字符串处理................................................................................................15
5.1 实验目的.............................................................................................................................15
5.2 实验内容和步骤.................................................................................................................15
5.2.1 实验内容 1...............................................................................................................15
5.2.2 实验内容 2...............................................................................................................15
实验 6 继承和派生...........................................................................................................................16
6.1 实验目的.............................................................................................................................16
6.2 实验内容和步骤.................................................................................................................16
6.2.1 实验内容 1...............................................................................................................16
6.2.2 实验内容 2...............................................................................................................17
6.2.3 实验内容 3...............................................................................................................18
6.2.4 实验内容 4...............................................................................................................18
实验 7 多态性和继承.......................................................................................................................19
7.1 实验目的.............................................................................................................................19
7.2 实验内容和步骤.................................................................................................................19
7.2.1 实验内容 1...............................................................................................................19
7.2.2 实验内容 2...............................................................................................................19
7.2.3 实验内容 3...............................................................................................................20
实验 8 输入输出流...........................................................................................................................21