Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include <string>
- #include <iostream>
- using namespace std;
- class Proizvod {
- private:
- string naziv;
- double cena;
- int brKom;
- public:
- Proizvod();
- Proizvod(string n, double c, int b);
- Proizvod(const Proizvod& p);
- Proizvod& operator--();
- Proizvod& operator--(int);
- bool operator<(Proizvod& p);
- friend istream& operator>>(istream& in, Proizvod& p);
- friend ostream& operator<<(ostream& out, Proizvod& p);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement