文件名称:assign6
介绍说明--下载内容均来自于网络,请自行研究使用
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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
.Set.h.swp
asd
...\asd.cbp
...\asd.depend
...\asd.layout
...\bin
...\...\Debug
...\...\.....\asd.exe
...\Main.cpp
...\obj
...\...\Debug
...\...\.....\Main.o
...\Set.h
...\Untitled1.c
asda
....\asda.cbp
....\asda.depend
....\asda.layout
....\bin
....\...\Debug
....\...\.....\asda.exe
....\main.cpp
....\obj
....\...\Debug
....\...\.....\Main.o
assign6.pdf
Main.cpp
Set.h