Cpp00 module from 42, on Namespaces, classes, member functions, stdio streams, initialization lists, static, const, and some other basic stuf
-Wall -Werror -Wextra and -std=c++98 flags
-C++11 (and derived forms) and Boost libraries are forbidden.
-using namespace and friend is not allowed
A small program to output the string in the required format if any is string given, otherwise, the output has to write: * LOUD AND UNBEARABLE FEEDBACK NOISE *
Exercise was required to be done in a "C++ manner".
Making a program as a crappy old phonebook with 2 classes, phonebook and contacts.
Phonebook can store a maximum of 8 contacts. If the user tries to add a 9th contact, the oldest is replaced with the new one. No Dynamic Allocation is allowed.
The program has the following commands: ADD, SEARCH, EXIT, anything else is ignored. Personally, I also used !std::cin to deal with Ctr+D or it would go in a loop, although there are other approaches.
ADD adds a new contact. SEARCH displays a specific contact that is given by input by its index. Formatting on how the contacts are displayed was done as required by the exercise EXIT closes the program.
The exercise gave freedom on how to design the classes, member functions etc.