Placing data from a file into a char array

Greetings and salutations,
I have a file with multiple strings of characters. (i.e. "jamentunpi0") I want to store the letters in a char array and then sort them in alphabetical order. I want to store everything up to the 0 in a char array, but I am having quite the difficult time doing so. I'm assuming I need to have some kind of loop to store the characters, alas I don't understand how to implement it. Thanks in advance.
Topic archived. No new replies allowed.