I want for main function in c program, read argc and argv from file.
How to read argv and argc from file in C language?
For example:
./prog --test=cpu --prime=1000 run
Change to:
./prog file.txt
File.txt is:
--test=cpu --prime=1000 run
Prog is a very big program.