Update sample.cpp

5th line added.