Trying some stuff in C++ out