Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef BRUCH_H
- #define BRUCH_H
- #include <iostream>
- class bruch{
- public:
- bruch(int, int);
- bruch();
- bruch kuerzen();
- bruch operator*(bruch);
- bruch operator+(const bruch&);
- bruch operator/(const bruch&);
- bruch operator-(const bruch&);
- friend std::ostream& operator <<(std::ostream&, const bruch&);
- private:
- int zaehler;
- int nenner;
- };
- #endif // BRUCH_H
Add Comment
Please, Sign In to add comment