Introduction to C++ and OOP.
- ex00: Work with
iostreamandstrigclasses to output arguments passed to a program in uppercase format. - ex01: Create a PhoneBook that can store 8 contacts. If a user what to add more contacts older stored contact will be replaced with the new one. Phonebook available commands are
ADD,SEARCHandEXIT.ADDask the user to input contact details,SEARCHdisplay a table of contacts and request the user to specify a contact to return the details of that contact andEXITclose the PhoneBook removing stored contacts. In this exercise I practice how to create a class with private and public attributes and functions, manage input, formated output and catch exceptions. - ex02: Given an output file, main and
.hppfile I have to implement the.cppfile of a class to obtain the given output file. In this exercise I learn about non member attributes and functions.