Code examples with C++