Edited Example.cpp