The Square in C++