7 throw std::out_of_range(
"width must be nonnegative");
10 throw std::out_of_range(
"height must be nonnegative");
18 throw std::out_of_range(
"col must be nonnegative");
21 throw std::out_of_range(
"col must be < width");
24 throw std::out_of_range(
"row must be nonnegative");
27 throw std::out_of_range(
"row must be < height");
Screen(int width, int height)
void checkCoordinates(int col, int row) const