Once again changed file extension from .cpp to .c