Changed from c to c++