Task 2 – IDs
You are given code which reads information about Company objects from the console, maps and sorts them by id, then prints info about each on the console.
The provided code only contains the implementation, without the declarations for the classes & members. Your task is to study the provided code and create files with the appropriate declarations so that the code compiles and accomplishes the task described.
You should submit a single .zip file for this task, containing ONLY the file(s) YOU created. The Judge system has a copy of the other files and will compile them, along with your file, in the same directory.
#include <exception> Искам да питам за това, какво означава? И преди питах за това, може ли да ми обясните как точно работят тези exception? Търсих в интернет, но не успях да го разгадая.
HasInfo като интерфейс ли трябва да го напишем?