build me a classification on C++ -- 2
Budget: €8 – €30 EUR
Must be written on C++.
Classification to be continued at least two more levels.
To construct a hierarchy of classes reflecting the classification.
To declare the corresponding classes.
Define a virtual function that outputs the characteristics of an object of each class in the hierarchy.
In the main function, build an array of objects from arbitrary classes in the hierarchy.
Develop a function that traverses the array and outputs information about the attributes of the objects included in the array.
The declarations of each class in the hierarchy should be formed into separate header (.h) files. The definitions of each class and the "main" function should be in separate modules (.cpp files). Include the corresponding header files containing the class declarations in all files containing the class definitions and the main function via the #include directive. Create a project consisting of the specified modules.
Classification to be continued at least two more levels.
To construct a hierarchy of classes reflecting the classification.
To declare the corresponding classes.
Define a virtual function that outputs the characteristics of an object of each class in the hierarchy.
In the main function, build an array of objects from arbitrary classes in the hierarchy.
Develop a function that traverses the array and outputs information about the attributes of the objects included in the array.
The declarations of each class in the hierarchy should be formed into separate header (.h) files. The definitions of each class and the "main" function should be in separate modules (.cpp files). Include the corresponding header files containing the class declarations in all files containing the class definitions and the main function via the #include directive. Create a project consisting of the specified modules.