1.
Design a procedure which is called sortwords.c, declare a very great array, reads every one in characters shelf words1.txt in the element which enter the array, arrange in an order every English word, store in another file named words2.txt
2.
Revise procedure of question 1, named stdsortwords.c, makes it input and read the materials from the standard, stores in the standard and exports, if other information are stored in the standard mistake and exported
You should use strings and filestreams. Check out the manual on fstream and string. String can be used to simulate a dynamic array of characters. Using some for-loops you can compare character's ASCII codes with each other.