I wrote a script which would run some commands within the control of another
program/software.
the script is like:
rasmol 1ggx.pdb <
centre 202A
quit
eof
rasmol is a software which can display 3-D structure of proteins. The excution
of the above script would be like:
[mi@tin myProgram]$ rasmol 1ggx.pdb
RasMol> centre 202A
RasMol> quit
[mi@tin myProgram]$
What I want to do is to write a piece of C or C++ code doing the same thing.
Any any Da Xia help? Thanks!