Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- struct kosztorys{
- char WydDoch;
- int kwota;
- string opis;
- };
- istream& operator >>(istream& k,kosztorys& d)
- {
- s >> d.gatunek >> d.wysokosc;
- return s;
- }
- ostream& operator <<(ostream& k, const kosztorys& d)
- {
- s<<d.gatunek<<d.wysokosc;
- return s;
- }
- int main()
- {
- drzewo* tab;
- int ile;
- cin >> ile;
- tab = new drzewo[ile];
- cout << "Hello world!" << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement