Edited the program so that it finds the .cpp file
Changed Compil to take strings rather than char *
Changed the final log write to fix the 100% output error