commit ee2b8544e24e40ef49df4244ff66c927b93054a2 Author: ganome Date: Tue Jan 28 10:06:50 2025 -0700 Initial Commit diff --git a/0 b/0 new file mode 100644 index 0000000..e69de29 diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..854c165 --- /dev/null +++ b/main.cpp @@ -0,0 +1,40 @@ +#include +#include + +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; +} diff --git a/test b/test new file mode 100755 index 0000000..1efb4f1 Binary files /dev/null and b/test differ