program practice

Create a working program entirely from scratch and select and include data structures from the C Standard Template Library. Work with an input file on the file system. Return data structures from helper functions. Make use of the random number generator. Modify strings based upon arbitrary but specific conditions.
Upon execution, the program should look for and open the UNC-16 encoded ASCII file (i.e. a text file). By default, the file will exist in the same directory as the program, and it requires the name ‘input.txt’. For extra credit, modify this to instead open the file pointed to by the command line arguments (i.e. argv and argc).
The program shall then use the input file to establish the password generator’s vocabulary. To do so, it should extract every unique token from the file over a minimum length. After establishing the unique tokens, the password generator shall use those tokens to begin producing twenty random passwords. The passwords the program produces must meet the following requirements:
Four (4) randomly selected tokens
Space between each token
Append the number ‘1’ to the last place of the password.
The tokens used to generate the password shall meet the following requirements:
Minimum token length: 3-6 characters (student’s choice based on performance).
No trailing punctuation with each token
If the first character in a token is a letter, it must be upper-case
All other characters must be lower case
Extra credit: No digits may appear anywhere in a token
After printing examples of twenty passwords the program produces, it shall exit.
The following are examples of valid passwords that meet these requirements:
Blink Teeth Warlike Abandoned1
Argue Puny Instruct Meddle1
2009,10 Shaky Knowing Canvas1 (Not a valid extra credit password)
Adjustment Warm Zebra Trains1
Rotten Puffy Gruesome Optimal1
There should be 20 sets of random passwords. You can use the data structures provided in the C standard library.

Place this order or similar order and get an amazing discount. USE Discount code “GWEXDDSRGCF10” for 10% discount

This question has been answered by our writers. you can buy the answer below or order your 0% plagiarized answer

Order your 0% plagiarized answer