Description: The double circle in alphabetical order to complete the work order. In the outer circle of the character array cs [i] in the name of the string copied to the array of st, and the subscript i given P. After entering the inner circle, the st and cs [i] after the string to compare, if slightly smaller than st copy of the string to the st, and given its subscript p. After the completion of internal circulation, such as p does not mean that i stated that there were more than cs [i] string appear smaller, so the exchange of cs [i] and the content of st. This has identified cs array element i of the first sort value. And then output the string. Outer circle that is completed after the completion of all the sorting and output.
To Search:
File list (Check if you may need any files):
ag.doc