Question: Using a UNIX/LINUX/UNIX Emulator, create a console program that can compile and execute programs either by the user entering the name of the program, or
- Using a UNIX/LINUX/UNIX Emulator, create a console program that can compile and execute programs either by the user entering the name of the program, or automatically executing all of the programs in a directory. The program will essentially simulate the system monitor of a Batch system.
- The programs to be run will be small c/c++ programs. Each time a program does some i/0, do a small delay (during development, the smaller the better).
- Program that prints 50 dots
- Program that does a summation of numbers from 1 to 10
- print sum along the way.
- Program that does a factorial of 10
- print factorial along the way
- Program that prints 100 #s
- Etc.
- The programs will reside in a directory called /jobs.
- The BatchMonitor program will live in a different directory than the jobs directory. See below.
- C:\users\batch
- C:\users\batch\jobs
- The Batch Monitor program will give the user the following options
- List jobs
- Set jobs directory
- Compile and run a specific program
- Compile and run all jobs in a specific directory.
- Shutdown
- List program options
- help
- The programs to be run will be small c/c++ programs. Each time a program does some i/0, do a small delay (during development, the smaller the better).
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
