C++ prototype