some basic examples about C++