文件名称:shape
介绍说明--下载内容来自于网络,使用问题请自行百度
用C++实现一个具体事例,形状作为基类,正方形,三角形等等作为派生类。来体现类的多态性,其中涉及多态,继承,虚函数的使用。-using a C++ example to illustrate polymorphism, virtual function and etc. The example has a base class of shape, and many concrete shapes as derived classes.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1/5/5.dsp
1/5/5.dsw
1/5/5.ncb
1/5/5.opt
1/5/5.plg
1/5/CShape.cpp
1/5/CShape.h
1/5/Diamond.cpp
1/5/Diamond.h
1/5/main.cpp
1/5/Polygon.cpp
1/5/Polygon.h
1/5/Queue.cpp
1/5/Queue.h
1/5/Rectangle.cpp
1/5/Rectangle.h
1/5/ReverseTriangle.cpp
1/5/ReverseTriangle.h
1/5/Square.cpp
1/5/Square.h
1/5/Triangle.cpp
1/5/Triangle.h
1/5/Debug
1/5
1
1/5/5.dsw
1/5/5.ncb
1/5/5.opt
1/5/5.plg
1/5/CShape.cpp
1/5/CShape.h
1/5/Diamond.cpp
1/5/Diamond.h
1/5/main.cpp
1/5/Polygon.cpp
1/5/Polygon.h
1/5/Queue.cpp
1/5/Queue.h
1/5/Rectangle.cpp
1/5/Rectangle.h
1/5/ReverseTriangle.cpp
1/5/ReverseTriangle.h
1/5/Square.cpp
1/5/Square.h
1/5/Triangle.cpp
1/5/Triangle.h
1/5/Debug
1/5
1
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.