cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
Calling a progrm in an archive
Calling a progrm in an archive
Jan 6, 2015 at 9:56am UTC
zoran404
(263)
To call another program (with some arguments eg input and output file) I'd usually do something like:
system(
"path/program.exe path/input.txt path/output.txt"
);
But what if that program was in a rar or zip archive, how would I call it them?
Last edited on
Jan 6, 2015 at 10:10am UTC
Jan 6, 2015 at 10:25am UTC
kbw
(9488)
You'd need to extract it before running it.
Topic archived. No new replies allowed.