Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- #include "Registracija.h"
- using namespace std;
- void Registracija::setInformacije(string brojRegistracije, string datumRegistracije){
- this->brojRegistracije = brojRegistracije;
- this->datumRegistracije = datumRegistracije;
- }
- void Registracija::ispisiInformacije(){
- cout<<"Broj registracije: " <<this->getBrojRegistracije() << " Datum registracije: " <<this->getDatumRegistracije()<<endl;
- }
- string Registracija::getBrojRegistracije(){
- return this->brojRegistracije;
- }
- string Registracija::getDatumRegistracije(){
- return this->datumRegistracije;
- }
- Registracija::Registracija(){
- }
- Registracija::Registracija(string brojRegistracije, string datumRegistracije){
- this->brojRegistracije = brojRegistracije;
- this->datumRegistracije = datumRegistracije;
- }
Add Comment
Please, Sign In to add comment