I want to write a program,and in this program
I want call another c program and compile that.
Can i code operating system's command in my program ,that compile another
C program's source code?
>From C you can call any OS command calling the function system. For
fCprogram = fopen("myccode.c","w");
/* here write the other C program */
system("cc -o mycode mycode.c");
[ back to toc ]