Here is how you execute a shell command from within a c++ program on Linux/Unix
Example Code: (this code creates a new directory called newFolder22 in the /home/sam/ directory);
system (“mkdir /home/sam/newFolder22”);
Here is how you execute a shell command from within a c++ program on Linux/Unix
Example Code: (this code creates a new directory called newFolder22 in the /home/sam/ directory);
system (“mkdir /home/sam/newFolder22”);