Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- class Matrix
- auto reset() -> void
- {
- for (int i(0x0); i != rows; ++i)
- for (int j(0x0); j != columns; ++j)
- matrix[i][j] = 0x0;
- }
- auto print() const -> void
- {
- for (int i(0x0); i != rows; ++i)
- {
- std::cout << "Row: " << i << ": ";
- for (int j(0x0); j != columns; ++j)
- std::cout << matrix[i][j] << " ";
- get link:https://ouo.io/jScVYrd
Add Comment
Please, Sign In to add comment