I must make program in c++ that reads unknown number of words from a text file to char arr which after that i will have to sort the words by the first letter by alphabet in a stack.
can any body help me please?
den rock sky apple cycle fruit van sun
i know how to read file with
sting line; ifstream in("file.txt", ios::out); getline(in,line); in.close ();
but I have to learn to program in the lower level - char arr's not by using string that are just linked char arr's