SHARE
TWEET

this

a guest Jan 12th, 2017 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include <string>
  3. //#include
  4. using namespace std;
  5.  
  6. //---------------------
  7. //------- Class -------
  8. //---------------------
  9.  
  10. class tNadoba{
  11.     private:
  12.         string napln;
  13.         int kapacita, objem;
  14.     public:
  15.         tNadoba(int);
  16.         bool Napln(/*string, int*/);
  17. };
  18. //------- konstr -------
  19. tNadoba::tNadoba(int k = 0){
  20.     this->kapacita = k;
  21. }
  22. //--------------------
  23. //------- Func -------
  24. //--------------------
  25. bool tNadoba::Napln(){
  26.     return true;
  27. }
  28.  
  29.  
  30.  
  31. //---------------------
  32. //------- MAIN --------
  33. //---------------------
  34. int main(int argc, char** argv) {
  35.     tNadoba n1;
  36.     return 0;
  37. }
RAW Paste Data
Top