Using C++ instead C