Changed to .cpp due to makefile problem with .c