C++ added and typos fixed