How do you:<br>
<br>
Write a program that accepts several arguments from the command line and based on these arguments perform none or several different operations on the specified input file.<br>
<br>
For eg.<br>
<br>
A command such as:- "Comline.exe inputfilename.ext outputfilename [/v /u /s]"<br>
<br>
/v - Counts the amount of vowels in the text file<br>
<br>
/u - Converts the entire text file to capitals letters<br>
<br>
/s - Sorts the words(including numbers and special characters) of the input file in alphabetical order and save the sorted version in a file called "result.s".<br>
<br>
The program should also produce three output files:<br>
/v - result.v<br>
/u - result.u<br>
/s - result.s
<br>
Write a program that accepts several arguments from the command line and based on these arguments perform none or several different operations on the specified input file.<br>
<br>
For eg.<br>
<br>
A command such as:- "Comline.exe inputfilename.ext outputfilename [/v /u /s]"<br>
<br>
/v - Counts the amount of vowels in the text file<br>
<br>
/u - Converts the entire text file to capitals letters<br>
<br>
/s - Sorts the words(including numbers and special characters) of the input file in alphabetical order and save the sorted version in a file called "result.s".<br>
<br>
The program should also produce three output files:<br>
/v - result.v<br>
/u - result.u<br>
/s - result.s