#include #include class Prize { protected: unsigned money; unsigned points; public: Prize(unsigned price, unsigned points) { this->money = price; this->points = points; } virtual void vizualize() const = 0; }; void print(const char* fileName) { std::ifstream file(fileName); if (!file.is_open()) return; char buffer[1024]; while (!file.eof()) { file.read(buffer, 1024); std::cout << buffer; } std::cout << std::endl; file.close(); }