changed C to C++