Advertisement
Guest User

celija.cpp

a guest
Nov 23rd, 2014
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.42 KB | None | 0 0
  1. #include <string>
  2. #include <vector>
  3. #include <iostream>
  4. #include "Celija.h"
  5.  
  6.  
  7. using namespace std;
  8.  
  9.  
  10.  
  11.  
  12. Celija::Celija(int brojKreveta, string block, int broj)
  13. {
  14.     this->brojKreveta = brojKreveta;
  15.     this->broj = broj;
  16.     this->blok = blok;
  17. }
  18.  
  19.  
  20. int Celija::getbrojKreveta() const {
  21.     return brojKreveta;
  22.  
  23. }
  24.  
  25. int Celija::getbroj() const {
  26.     return broj;
  27.  
  28. }
  29.  
  30.  
  31. string Celija::getblok() const {
  32.     return blok;
  33.  
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement