Initial Commit

This commit is contained in:
ganome 2025-01-28 10:06:50 -07:00
commit ee2b8544e2
Signed by untrusted user who does not match committer: Ganome
GPG Key ID: 944DE53336D81B83
4 changed files with 40 additions and 0 deletions

0
0 Normal file
View File

0
README.md Normal file
View File

40
main.cpp Normal file
View File

@ -0,0 +1,40 @@
#include <iostream>
#include <string>
class Hardware {
public:
std::string manufacturer;
std::string model;
int ReleasedYear;
};
class CPU: public Hardware {
public:
bool Bit64;
int cores;
int threads;
int pcielanes;
int maxram;
float mainclock;
float boostclock;
std::string architecture;
};
int main() {
using namespace std;
CPU A7800x3d;
A7800x3d.manufacturer = "AMD";
A7800x3d.ReleasedYear = 2024;
A7800x3d.architecture = "Zen 4";
A7800x3d.boostclock = 5.2;
A7800x3d.mainclock = 4.8;
cout << "The Manufacturer is: " << A7800x3d.manufacturer << endl;
cout << "The Main Clock Speed is: " << A7800x3d.mainclock << endl;
cout << "The Boost Clock Speed is: " << A7800x3d.boostclock << endl;
system("sleep 3s");
return 0;
}

BIN
test Executable file

Binary file not shown.