C++ for example