Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- operator:
- std::ostream& operator<<(std::ostream& output, Macierz2x2 input)
- {
- output << input.wsp(1,1) << " " << input.wsp(2,1) << "\n" << input.wsp(1,2) << " " << input.wsp(2,2);
- return output;
- }
- deklaracja (do operator.hpp):
- std::ostream& operator<<(std::ostream&, Macierz2x2);
- definicja (do operator.cpp):
- std::ostream& operator<<(std::ostream& output, Macierz2x2 input)
- {
- output << input.wsp(1,1) << " " << input.wsp(2,1) << "\n" << input.wsp(1,2) << " " << input.wsp(2,2);
- return output;
- }
Add Comment
Please, Sign In to add comment