Update main.cpp

unworking example