New code in C++