Posted: 2006-12-12T15:46:07-07:00
I think that system() just passes all its arguments to identify without interpreting ">out.txt" as redirection. You have to do the redirection yourself.
I don't know how you would do this in C++ but in C I did this with the freopen function:
and then call "identify".
Pete
I don't know how you would do this in C++ but in C I did this with the freopen function:
Code: Select all
freopen("out.txt","w",stdout);
Pete