Removed a bunch of old comments and code I was testing
This commit is contained in:
parent
096e8ad559
commit
2cfaa7b25e
35
main.cpp
35
main.cpp
@ -3,40 +3,21 @@
|
|||||||
#include "lists/hardware.h"
|
#include "lists/hardware.h"
|
||||||
#include "lists/cpu.h"
|
#include "lists/cpu.h"
|
||||||
|
|
||||||
/*
|
|
||||||
void setupCPU(std::string model, float mainclock, int cores){
|
|
||||||
i75820k.model = model;
|
|
||||||
i75820k.mainclock = mainclock;
|
|
||||||
i75820k.cores = cores;
|
|
||||||
};
|
|
||||||
*/
|
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
/* Trying to declare a class with name A7800x3d
|
// Set some variables for the spawned CPU's
|
||||||
CPU A7800x3d;
|
|
||||||
A7800x3d.manufacturer = "AMD";
|
|
||||||
A7800x3d.ReleasedYear = 2024;
|
|
||||||
A7800x3d.architecture = "Zen 4";
|
|
||||||
A7800x3d.boostclock = 5.2;
|
|
||||||
A7800x3d.mainclock = 4.8;
|
|
||||||
*/
|
|
||||||
// referencing the function a7800x3d from cpu.h and initialize the class
|
|
||||||
// a7800x3d();
|
|
||||||
// a7800x3d(4.8, 5.2);
|
|
||||||
|
|
||||||
/* setupCPU("i75820k", 3.2, 6);
|
|
||||||
cout << "cores: " << i75820k.cores << endl;
|
|
||||||
cout << "manufacturer: " << i75820k.manufacturer << endl;
|
|
||||||
*/
|
|
||||||
|
|
||||||
A7800x3d.manufacturer = "AMD";
|
A7800x3d.manufacturer = "AMD";
|
||||||
A7800x3d.model = "Ryzen 7 7800x3d";
|
A7800x3d.model = "Ryzen 7 7800x3d";
|
||||||
|
|
||||||
|
i75820k.model = "i75820k";
|
||||||
|
i75820k.manufacturer = "Intel";
|
||||||
|
|
||||||
|
|
||||||
cout << "The " << A7800x3d.model << "'s Manufacturer is: " << A7800x3d.manufacturer << endl;
|
cout << "The " << A7800x3d.model << "'s Manufacturer is: " << A7800x3d.manufacturer << endl;
|
||||||
// cout << "The Main Clock Speed is: " << A7800x3d.mainclock << endl;
|
cout << "The Main Clock Speed is: " << A7800x3d.mainclock << endl;
|
||||||
// cout << "The Boost Clock Speed is: " << A7800x3d.boostclock << endl;
|
cout << "The Boost Clock Speed is: " << A7800x3d.boostclock << endl;
|
||||||
|
|
||||||
system("sleep 3s");
|
system("sleep 3s");
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user