Update sample.cpp
1