In C++ you will be making a program that can take command like args.

Using command line arguments, allow the program to do the following

If the command is -i, print: Integer, and then print the integer after it.

If the command is -f print: float, and then print the float after it

if the command is -s print: string, and then print the string after it.

If the command is -h print: all the commands, and the syntax

If the command is something not listed, do the same as the -h command.

It doesn't matter the number or the order -- do all the commands that the person typed.

Is someone does a command, but it is not the right syntax -- show the correct syntax.

Example entries into the program:

prog.exe -i 3

prog.exe -f 3.14 -i 6

prog.exe -h

Similar Questions
  1. To paste text into a document, use the ______________ keyboard shortcut.(1 point) Responses Ctrl + A; Command + A Ctrl + A;
    1. answers icon 1 answer
  2. To cut text from a document, use the ____________ keyboard shortcut.(1 point) Responses Ctrl + A; Command + A Ctrl + A; Command
    1. answers icon 1 answer
  3. Which keyboard shortcut can you use to copy data from a cell?(1 point) Responses Ctrl + C; Command + C Ctrl + C; Command + C
    1. answers icon 1 answer
  4. Which keyboard shortcut can you use to paste data into a cell?(1 point) Responses Ctrl + C; Command + C Ctrl + C; Command + C
    1. answers icon 1 answer
more similar questions