SHARE
TWEET

WOJCZYK SKURCZYBYKI

a guest May 22nd, 2019 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. struct kosztorys{
  6.     char WydDoch;
  7.     int kwota;
  8.     string opis;
  9. };
  10.  
  11. istream& operator >>(istream& k,kosztorys& d)
  12. {
  13.     s >> d.gatunek >> d.wysokosc;
  14.     return s;
  15. }
  16.  
  17. ostream& operator <<(ostream& k, const kosztorys& d)
  18. {
  19.     s<<d.gatunek<<d.wysokosc;
  20.     return s;
  21. }
  22.  
  23.  
  24. int main()
  25. {
  26.     drzewo* tab;
  27.     int ile;
  28.     cin >> ile;
  29.  
  30.     tab = new drzewo[ile];
  31.    
  32.     cout << "Hello world!" << endl;
  33.     return 0;
  34. }
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