Question: I need help programming this assignment in C . Thank you Read in a file of words (one word per line, but can contain any
Read in a file of words (one word per line, but can contain any number of words...Including zero words!) Reverse each word Sort the resulting list of reversed words Write the sorted list of reversed words to a file Other notes: No using system commands to do this for you, you must use C code. You must linking in my reverse code to reverse each word (reverse. h, reverse. c and reverse. o are provided for you in Moodle) Using a dynamic array for your word list will result in more points than counting lines and then creating a statically sized word list You may link in your own vector code if you so desire (but you are NOT required to) All words will be AT MOST 50 characters Input file will be named "dictionary.txt" and an example file is provided in Moodle for you to test with You need to make sure that you are: Correctly linking/using my reverse code Proper use of dynamic array(s) String sorting Input processing Output processsing
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
