hardwaredb/main.cpp

31 lines
703 B
C++
Raw Normal View History

2025-01-28 10:06:50 -07:00
#include <iostream>
#include <string>
#include "lists/hardware.h"
2025-01-28 10:06:50 -07:00
// std::string a7800x3d(std::string man){
// CPU A7800x3d;
// A7800x3d.manufacturer = "AMD";
// return man;
// };
2025-01-28 10:06:50 -07:00
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;
2025-01-28 10:06:50 -07:00
cout << a7800x3d("AMD");
2025-01-28 10:06:50 -07:00
// 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;
2025-01-28 10:06:50 -07:00
system("sleep 3s");
return 0;
}