sample.cpp