Update c++.cpp

add the return statement