Click to See Complete Forum and Search --> : Linux Commands in C++


french_tickler17
11-15-2000, 07:31 AM
How do i include linux commands in C++, lets say i wanted to write a program that asks what file to move, and what folder to move it to, and then my c++ program would call the mv command and run it and still be in the program afterwards. Is this even possable.

Death on Wheels
11-15-2000, 09:01 AM
#include <stdlib.h>
system ("command");

------------------
Kurt Weber
Shell scripts? Shell scripts? We don't NEED no stinkin' shell scripts!
White, heterosexual, middle-class, and proud!