Question: Write C++ program system1 that uses the system() library function; do #include . Implement calls to system() with arguments Is, pwd, and whoami. Show the
Write C++ program system1 that uses the \"system() library function; do #include . Implement calls to system() with arguments \"Is\", \"pwd\", and \"whoami\". Show the source and program output. Describe briefly what you observe; with output similar to: next system command: Applications Downloads Music fa milie testi Contacts Favorites Pictures herb testi.c Desktop Library Public pix_low 2020 test2 Documents Movies a.out test. test2.c next system command: /Users/herbertmayer next system command: herbertmayer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
