celý zdroj:
#include <stdio.h>
int main (){
char fn[10], cmd[100], c, d;
printf("Current Directory: ");
system("cd");
getch();
printf("\nQ pro ukončení: ");
if((c = getchar()) == 'q' || c == 'Q')
return 0;
while (d!='q' || d!='Q'){
printf("\n\nFilename: ");
scanf("%10s", fn);
cmd = "tcc\\tcc.exe Development\\" + fn + ".c -o Development\\" + fn + ".exe";
system(cmd);
getch();
printf("\nQ pro ukončení: ");
d = getchar();
}
}