Hello one and all,
Hopefully someone can help me out here. I am trying within a C / C++ program
to invoke command line instructions (under linux) i.e.:
say I wish to list the contents of the current dir I would type (in bash
say) : ls (enter).
Now, how do I do to enact this action within a code ?
In fortran the appropriate command is : callsystem "ls", give or take
syntaxic details.
I wish to do the same in C / C++
Any help appreciated, thanks
G.T.