void setCPU(){}; void setCPU(std::string model, float mainclock, float boostclock) { mainclock = mainclock; boostclock = boostclock; // model.boostclock = boostclock; // This doesnt work because its not a vaild reference! // Trying to use the local model var to call the global CPU class for that specific model cout << "\n\n\n" << model << ".mainclock\n\n" << endl; }