Description: 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
To Search:
File list (Check if you may need any files):
assign5
.......\a.out
.......\AbstractPhone.cpp
.......\AbstractPhone.h
.......\AbstractPhone.o
.......\assign5
.......\assign5.pdf
.......\CellPhone.cpp
.......\CellPhone.h
.......\CellPhone.o
.......\exacution
.......\.........\20101117assign5.cbp
.......\.........\20101117assign5.depend
.......\.........\20101117assign5.layout
.......\.........\bin
.......\.........\...\Debug
.......\.........\...\.....\20101117assign5.exe
.......\.........\main.cpp
.......\.........\main2.cpp
.......\.........\obj
.......\.........\...\Debug
.......\.........\...\.....\AbstractPhone.o
.......\.........\...\.....\CellPhone.o
.......\.........\...\.....\InterPhone.o
.......\.........\...\.....\LocalPhone.o
.......\.........\...\.....\main.o
.......\.........\...\.....\main2.o
.......\InterPhone.cpp
.......\InterPhone.h
.......\InterPhone.o
.......\LocalPhone.cpp
.......\LocalPhone.h
.......\LocalPhone.o
.......\main.cpp
.......\main.o
.......\Makefile