adding basic examples for c++