11.07.2015 Views

tYSR20

tYSR20

tYSR20

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

298Part IV: InheritanceThe programmer can gain access to all members of the Schools namespaceby adding the command using namespace Schools. The following version ofmain() builds successfully:using namespace Schools;int main(int nArgc, char* pszArgs[]){Student s(“Sophie Moore”, 1234);cout

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!