Question: I really need help writing this the program in C language. Please follow all the steps. Program must meet the criteria below: 1. Program must

I really need help writing this the program in C language. Please follow all the steps.
I really need help writing this the program in C language. Please

Program must meet the criteria below: 1. Program must be named createFile 2. Program must be able to be called in one of these two ways: 1. createFile 2. createFile > Command line arguments must represent the following: 1. -name of the binary file, if value isn't specified default it to image.dat 2. -total number of integer pairs to generate, if value isn't specified default it to 60 createFile program must follow a simple process: 1. loop while all the integer pairs haven't been written to the file 1. generate a random number between 97 and 122; these are the ASCII values for ' a ' - ' z '. 2. generate a random number between 5 and 20 3. store the values in a struct containing a char and a short int 4. output the struct to the file using write

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!