Modification of bug : change .c to .cpp