Question: Assignment 1 - Command Line Interpreter Homework is to be completed individually. Send your zipped source code and executable file to me via TITANium Be

 Assignment 1 - Command Line Interpreter Homework is to be completed

Assignment 1 - Command Line Interpreter Homework is to be completed individually. Send your zipped source code and executable file to me via TITANium Be sure to include your name at the top of each source file submitted. For example: // Console Applicationcpp: Simple Command Line Interpreter. Interactive Shell: Write a C/CH program to implement an interactive shell in which users can execute commands. Call this program poxShell. Create an infinite loop (while(i)) that repeatedly prompts the user to enter a command (see example output and input below). Consider using feets) to read a line of input from the user. Before executing the command entered by the user, the command must be compared against the list of supported commands shown here: dir help vo! path tasklist notepad echo color ping Since some commands require more than one argument (e.g. echo, color, ping), you will need to parse the user input into its arguments. Consider using the stitako function. For example: COMMAND TYPED BY THE USER: ping 192.168.1.1 ARGUMENT O: "ping" ARGUMENT 1: "192.168.1.1" If the command in argument[0] is in the list above, your program must execute the command in a child thread via CreateThread). In other words, create a child thread that executes the command. The parent thread waits for the child to terminate. If the user types exit or quit, your shell should simply terminate. Sample output and input are shown below: Welcome to mxShell -> dir Volume in drive C is Windows Volume Serial Number is 301D-8616 Directory of c:\Users\spati\documents visual studio 2015 Projects ConsoleApplicationl\ConsoleApplication!

08/27/2016 08:59 AM 08/27/2016 08:59 AM 08/27/2016 08:59 AM 08/25/2016 05:42 PM 08/25/2016 05:42 PM 08/27/2016 09:00 AM 08/25/2016 05:42 PM 1,686 Console Application1.cpp 8,060 Console Application1.vcxproj 1,346 Console Application 1.vcxproj,filters Debug 1,799 ReadMe.txt

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!