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”);
Find Everything You Need On Your First Search
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”);