Changing .c files to .cpp