#includeIn this example, we create a `FloatRect` with a position of (100, 100) and size of 50x50. We then print the current position of the rect using `left` and `top`. We use `setLocation` to move the rect to (200, 200) and print the new position. The `SFML` library is required to use the `FloatRect` class and its methods.#include int main() { // create a FloatRect sf::FloatRect rect(100, 100, 50, 50); // print the current position of the rect std::cout << rect.left << " " << rect.top << std::endl; // set the location of the rect to (200, 200) rect.setLocation(200, 200); // print the new position of the rect std::cout << rect.left << " " << rect.top << std::endl; return 0; }