put a c-file in front of the cpp main function