文件名称:assign5
-
所属分类:
- 标签属性:
- 上传时间:2013-04-06
-
文件大小:402kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
Implement a class that represents a phone number in std::string type. The class should inherit the given Abstract-
Phone class. You are not allowed to change the prototypes in AbstractPhone.h. The AbstractPhone class is an
abstract class since getPhoneNumber() is declared as a pure virtual function. You should implement both the one
argument constructor and two argument constructor. LocalPhone class is a derived class from AbstracPhone class.
It doesn’t have additional member variables except the ones in AbstracPhone. Implement the one argument constructor
and getPhoneNumber() function
Phone class. You are not allowed to change the prototypes in AbstractPhone.h. The AbstractPhone class is an
abstract class since getPhoneNumber() is declared as a pure virtual function. You should implement both the one
argument constructor and two argument constructor. LocalPhone class is a derived class from AbstracPhone class.
It doesn’t have additional member variables except the ones in AbstracPhone. Implement the one argument constructor
and getPhoneNumber() function
(系统自动生成,下载前可以参看下载内容)
下载文件列表
assign5/
assign5/a.out
assign5/AbstractPhone.cpp
assign5/AbstractPhone.h
assign5/AbstractPhone.o
assign5/assign5
assign5/assign5.pdf
assign5/CellPhone.cpp
assign5/CellPhone.h
assign5/CellPhone.o
assign5/exacution/
assign5/exacution/20101117assign5.cbp
assign5/exacution/20101117assign5.depend
assign5/exacution/20101117assign5.layout
assign5/exacution/bin/
assign5/exacution/bin/Debug/
assign5/exacution/bin/Debug/20101117assign5.exe
assign5/exacution/main.cpp
assign5/exacution/main2.cpp
assign5/exacution/obj/
assign5/exacution/obj/Debug/
assign5/exacution/obj/Debug/AbstractPhone.o
assign5/exacution/obj/Debug/CellPhone.o
assign5/exacution/obj/Debug/InterPhone.o
assign5/exacution/obj/Debug/LocalPhone.o
assign5/exacution/obj/Debug/main.o
assign5/exacution/obj/Debug/main2.o
assign5/InterPhone.cpp
assign5/InterPhone.h
assign5/InterPhone.o
assign5/LocalPhone.cpp
assign5/LocalPhone.h
assign5/LocalPhone.o
assign5/main.cpp
assign5/main.o
assign5/Makefile
assign5/a.out
assign5/AbstractPhone.cpp
assign5/AbstractPhone.h
assign5/AbstractPhone.o
assign5/assign5
assign5/assign5.pdf
assign5/CellPhone.cpp
assign5/CellPhone.h
assign5/CellPhone.o
assign5/exacution/
assign5/exacution/20101117assign5.cbp
assign5/exacution/20101117assign5.depend
assign5/exacution/20101117assign5.layout
assign5/exacution/bin/
assign5/exacution/bin/Debug/
assign5/exacution/bin/Debug/20101117assign5.exe
assign5/exacution/main.cpp
assign5/exacution/main2.cpp
assign5/exacution/obj/
assign5/exacution/obj/Debug/
assign5/exacution/obj/Debug/AbstractPhone.o
assign5/exacution/obj/Debug/CellPhone.o
assign5/exacution/obj/Debug/InterPhone.o
assign5/exacution/obj/Debug/LocalPhone.o
assign5/exacution/obj/Debug/main.o
assign5/exacution/obj/Debug/main2.o
assign5/InterPhone.cpp
assign5/InterPhone.h
assign5/InterPhone.o
assign5/LocalPhone.cpp
assign5/LocalPhone.h
assign5/LocalPhone.o
assign5/main.cpp
assign5/main.o
assign5/Makefile
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.