#pragma once using namespace std; class Hardware { public: std::string manufacturer; std::string model; int ReleasedYear; }; class CPU: public Hardware { public: bool bits64; int cores; int threads; int pcielanes; int maxram; float mainclock; float boostclock; std::string architecture; std::string memoryrange; CPU() { manufacturer = "Intel"; model = "default"; ReleasedYear = 2000; bits64 = true; cores = 4; threads = 2; pcielanes = 24; maxram = 128; mainclock = 2; boostclock = 2.2; architecture = "x86_64"; memoryrange = "00:00"; }; void getmanufacturer(std::string manufacturer){ cout << manufacturer; }; }; // Spawn a CPU class for the Ryzen 7 7800x3d // CPU *A7800x3d; // Spawn a CPU class for the Intel i7 5820k // CPU *Ii75820k;