Example1.18: src/early-examples/size/qsize.cpp (There are some mistakes)