jelenpivo123

profesorr.cppp

Oct 7th, 2018
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. #include "Profesor.h"
  2. #include <iostream>
  3.  
  4. using namespace std;
  5.  
  6.  
  7. void Profesor::ispisiPodatke() {
  8. cout << this->ime << " " << this->prezime << " " << this->jmbg << " " << this->datumZaposlenja << " " << this->getBrojRadneKnjizice() << " " << this->doktorskaTeza << " " << this->godinaDoktoriranja << endl;
  9. }
  10.  
  11. Profesor::Profesor() {
  12. }
  13.  
  14.  
  15. Profesor::Profesor (string ime, string prezime, string jmbg, string brojRadneKnjizice, int radniStaz, string datumZaposlenja, string doktorskaTeza, int godinaDoktoriranja):Osoba(ime,prezime,jmbg),Zaposleni(brojRadneKnjizice,radniStaz,datumZaposlenja){
  16. this->doktorskaTeza = doktorskaTeza;
  17. this->godinaDoktoriranja = godinaDoktoriranja;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment