+1 sample.cpp