I am working on Sparc OS version 5.8. I have a code which is sth like
while(i < N)
do some processing in c++ to create file abc
system("simulator_name < abc")
.....c++ ... processing......
The problem is my simulator takes some time T to load and only then
starts working on the file abc.After completion the simulator is
exited and the same thing(loading + execution happens in next
iterations..) Since the number of iterations are huge (wasted time NT)
i want something like :
open the simulator only once( just doing system("simulator_name") and
get the ...