Facebook
From Idiotic Meerkat, 6 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 246
  1. Computer::Computer(int id, string producent, string price, string forwho,Motherboard motherboard)
  2. {
  3.     this->producent = producent; //wskaźnik na klasę, dzięki temu this->producent odnosi się do pola klasy a nie do argumentu
  4.     this->price = price;
  5.     this->forwho = forwho;
  6.     this->id = id;
  7.     this->motherboard = motherboard;
  8. }