#include <iostream>using namespace std;class Game {public: // 公有字段 string name; int year;private: // 私有字段 string developer;};i