back before change the 'class' identifier
rename class into c_class
rename new to c_new
change the compile and link to g++ .and clear all the errors