Rect rect(0, 0, 10, 20); int bottom = rect.bottom; // Returns 20
Rect rect(0, 0, 10, 20); rect.bottom = 30; // Changes the rectangle's height to 10In this example, we again create a new `Rect` object with top-left corner at (0, 0), a width of 10, and a height of 20. We then modify the `bottom` property of the rectangle using the `=` (assignment) operator. This changes the height of the rectangle to 10 (since the y coordinate of the top edge is still 0). The `Rect` class is part of many different C++ libraries, including WinAPI (for Windows applications), Qt (for cross-platform GUI development), and Allegro (for game development).