Advertisement
Guest User

wezel.h

a guest
Mar 27th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. #ifndef WEZEL_H
  2. #define WEZEL_H
  3. #include <cstdio>
  4. #include <iostream>
  5. #include <string>
  6.  
  7. struct Wezel{
  8. int nralbumu;
  9. std::string imie;
  10. std::string nazwisko;
  11. int rokstudiow;
  12. std::string kierunek;
  13. std::string specjalnosc;
  14. struct Wezel *nast;
  15. struct Wezel *poprzedni;
  16. Wezel(){nralbumu=0; rokstudiow=0;nast = NULL; poprzedni=NULL;}
  17. ~Wezel(){
  18. delete nast; delete poprzedni;}
  19. };
  20. std::istream& operator>>(std::istream& Strm, Wezel* v);
  21. std::ostream& operator<<(std::ostream& StrmWy, const Wezel* v);
  22. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement