文件名称:p03
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.29kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
1、编写并测试3×3矩阵转置函数,使用数组保存3×3矩阵
2、使用动态内存分配生成动态数组来重新完成上题,使用指针实现函数的功能。
3.写一个程序,定义基类车Vehicle,有Run,Stop等成员函数,由它派生出2个派生类:(自行车类)、(汽车类),从Bbicyce 、Motoracar派生出Motorcycle(摩托车类),它们都有Run,Stop等成员函数。注意虚函数的作用。
-1, to prepare and test the 3 × 3 matrix transpose function, use the array to save 3 × 3 matrix 2, using dynamic memory allocation to re-generate dynamic array to complete the title, use the pointer to achieve the function function. 3. To write a program to define the base class Car Vehicle, with Run, Stop and other member functions, which it has derived two derived classes: (bicycle type), (car class), from Bbicyce, Motoracar derived Motorcycle (Motorcycle Class ), they have the Run, Stop and other member functions. Note that the role of virtual functions.
2、使用动态内存分配生成动态数组来重新完成上题,使用指针实现函数的功能。
3.写一个程序,定义基类车Vehicle,有Run,Stop等成员函数,由它派生出2个派生类:(自行车类)、(汽车类),从Bbicyce 、Motoracar派生出Motorcycle(摩托车类),它们都有Run,Stop等成员函数。注意虚函数的作用。
-1, to prepare and test the 3 × 3 matrix transpose function, use the array to save 3 × 3 matrix 2, using dynamic memory allocation to re-generate dynamic array to complete the title, use the pointer to achieve the function function. 3. To write a program to define the base class Car Vehicle, with Run, Stop and other member functions, which it has derived two derived classes: (bicycle type), (car class), from Bbicyce, Motoracar derived Motorcycle (Motorcycle Class ), they have the Run, Stop and other member functions. Note that the role of virtual functions.
相关搜索: p03
(系统自动生成,下载前可以参看下载内容)
下载文件列表
p03.cpp
p02.cpp
p01.cpp
p02.cpp
p01.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.