#include System::System() { this->m_Sys = new Sys(); if (CPU_Instance = NULL) { CPU_Instance = new CPU(); } if (Memory_Instance == NULL) { Memory_Instance = new Memory(); } } Sys System::getSystemSpec() { Sys temp; memcpy(&temp, m_Sys, sizeof(Sys)); return temp; } System::~System() { }