Advertisement
Guest User

Untitled

a guest
Nov 1st, 2014
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.96 KB | None | 0 0
  1. #pragma once
  2. #ifndef _PODSTAWOWY
  3. #define _PODSTAWOWY
  4.  
  5. #include <iostream>
  6. #include <windows.h>
  7. #include <string>
  8. #include <sstream>
  9. #include "abstrakcyjna_klasa.h"
  10.  
  11. using namespace std;
  12.  
  13. class podstawowy : public abstrakcyjna_klasa
  14. {
  15.     friend class normalny;
  16. protected:
  17.     int saldo;
  18.     int licznik_limit, limit_bankomatu;
  19.     bool zablokowany;   //sprawdza, czy bankomat jest zablokowany, w funkcji main odpowiednie funkcje blokuja wywolanie metody wyplac
  20.                         //tzn. nie przejdzie do wyplacania, dopoki podajemy zly pin lub "wroc", to dodatkowe zabezpieczenie... w bankowosci nigdy za wiele
  21. public:
  22.     podstawowy(void);
  23.     ~podstawowy(void);
  24.     virtual int jaki_limit();
  25.     virtual int wyplac(int kwota_bp);
  26.     virtual int sprawdz_pin(string kod_pin_kl); //false odrzuca, true to dobry pin
  27.     void ServiceInfo();
  28.     //virtual int wyswietl_saldo(); ////////////////////////////////////////////////////////////////////////////////////////////////////// testowo
  29. };
  30.  
  31. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement