c++ 面向对象编程

时间:2015-12-23 16:57:16
【文件属性】:
文件名称:c++ 面向对象编程
文件大小:1006KB
文件格式:RAR
更新时间:2015-12-23 16:57:16
c++ 圆柱体 编写圆柱体类Cylinder,有数据成员Circlr对象和长度Len, 成员函数get_vol() 计算体积, get_area()计算表面积。 完善必要的构造函数和拷贝构造函数,构造Cylinder的对象进行测试。对构造函数,拷贝构造函数和析构函数的调用情况进行分析。
【文件预览】:
test2.2
----test2.2.suo(8KB)
----test2.2.ncb(1.85MB)
----test2.2()
--------stdafx.cpp(212B)
--------stdafx.h(233B)
--------test2.2.cpp(1KB)
--------targetver.h(498B)
--------test2.2.vcproj(4KB)
--------Debug()
--------test2.2.vcproj.PC-20110226NVIT.Administrator.user(1KB)
--------ReadMe.txt(1KB)
----Debug()
--------test2.2.exe(40KB)
--------test2.2.ilk(393KB)
--------test2.2.pdb(627KB)
----test2.2.sln(887B)

网友评论

  • 程序太简单了,继承、多态、重载、虚函数。。。。能体现面向对象特征的基本都没有