Question: This is a C++ question and development environment is Visual Studio 2015 Modify the below program to meet the following criteria a) If no command-line
This is a C++ question and development environment is Visual Studio 2015
Modify the below program to meet the following criteria a) If no command-line option is given, show the message "No command-line option!". b) If any command-line option(s) entered by the user is not one of the following: "/e", "/u", "/n", or "/g"; show a single message "Wrong option!" c) Otherwise, display the message "All options are known!" d) Only one of the above 3 messages will be shown. [Hint: Use strcmp() ]
#include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
