Computer::Computer(int id, string producent, string price, string forwho,Motherboard motherboard) { this->producent = producent; //wskaźnik na klasę, dzięki temu this->producent odnosi się do pola klasy a nie do argumentu this->price = price; this->forwho = forwho; this->id = id; this->motherboard = motherboard; }