文件名称:assign1
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
a.out
assign1.pdf
Main.cpp
Makefile
Time.cpp
Time.h