Advertisement
Guest User

Untitled

a guest
May 25th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. namespace program
  2. {
  3. Vect::Vect()
  4. {/*Vect:: äîñòóï ê îáëàñòè âèäèìîñòè*/
  5. size = 0;
  6. ukaz = NULL;
  7. }
  8. Vect::Vect(int X)
  9. {
  10. size = X;
  11. }
  12. Vect::Vect(const Vect& a)
  13. {
  14. size = a.size;
  15. ukaz = a.ukaz;
  16. }
  17. Vect::~Vect()
  18. {
  19.  
  20. }
  21.  
  22. void Vect::show()
  23. {
  24. cout << "size = " << this->size << endl;
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement