Run command line code from within my c code.
Hi all,
I'm very new to C programming, and currently working on an assignment for week 1 of class.
Trying to get a little ahead by figuring out a way to execute a command line code from within the C program I'm writing.
To be more precise, what I'm trying to do is to run a C program, type in some parameters, then compile a new file based on the parameters entered, and run the new file all in one go.
I would greatly appreciate it if someone could show me how this can be done!
I'm attaching the .c file...