Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Apr 10th, 2020 124 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //main
  2. #include<iostream>
  3. #include<string>
  4. #include"Book.h"
  5. using namespace std;
  6.  
  7. int main() {
  8.     setlocale(LC_ALL, "Russian");
  9.     Book b1;
  10.     cout  << "автор" " "  << b1.author  << endl;
  11.     cout <<"название"" " << b1.title << endl;
  12.     cout << "содержание"" "<< b1.soderzanie << endl;
  13.  
  14.  
  15.     return 0;
  16. }
  17. //class book
  18. #pragma once
  19. #include<iostream>
  20. #include<string>
  21. using namespace std;
  22. class Book
  23. {
  24. public:
  25.    
  26.     string title = "";
  27.     string author  = "";
  28.     string soderzanie = "";
  29.     Book();
  30. };
  31. //контсруктор класса book
  32. #include "Book.h"
  33.  
  34. Book::Book()
  35. {
  36.     this->author = "Roman";
  37.     this->title = "dark side of coding";
  38.     this->soderzanie = "1.beginning,2.middle,3.end";
  39. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top