Lesson 13 | Adding methods |
Objective | Add GetPhoneRec to IReadPhBook; add AddPhoneRec and DeletePhoneRec to IManagePhBook. |
GetPhoneRec
to interface IReadPhBook
. Once that's done, we'll add AddPhoneRec
and DeletePhoneRec
to interface IManagePhoneRec
.
These will enable us to get, add, and delete phone records from our project.
GetPhoneRec
, AddPhoneRec
, and DeletePhoneRec
via "Add Method to Interface" adds method declarations to
CPhBookObj and adds
code stubs to PhBookObj.cpp.