Inside my program, I need to call a second program ("solver.exe") and then the first program can pick back up, right where it left off. This is done about once each minute.
Right now I'm using:
This works, but I see a lot of other options for this, in C.Code://my program's other code up here: for(i = 0; i < BigNumber; i++) { //miscellaneous other code of mine system("solver.exe < inputFile"); //more code of mine }
Would another way be faster, and still reliable?
This is part of my Sudoku analysis program, and the run time is *absolutely HUGE* - (many years, on the fastest hardware, running multiple work units which break the job into smaller pieces)
Thanks.