Question: Write a program in C that will accept five file names from command line: one input file name and four output file names. ex) input,

Write a program in C that will accept five file names from command line: one input file name and four output file names. ex) input, alpha, num, other and copy. (output file mode: rw-rw-rw)
The input file is an ASCII file. Your program reads character by character from the input file and write to proper output file. Alphabetic character writes to the file alpha, numerical character writes to the file num and other characters goes to the file other. The file copy is copy of input file which is created by reading data from three created files. (You should not create the file copy from input file!) To create the copy file, you need consider empty space and space which is used for different type of character.
DO NOT USE FSTREAM OBJECTS

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!