My brain is fried. I have been trying this all day. Everyone I seek help from ends up confusing me more because they solve it using concepts I don't know and that I am not allowed to use.
Heres a simplified version:
I need to take a two dimensional array of chars, sort ONLY THE PRECEDENCE of the ROWS by alphabetical order, while not actually sorting the rows themselves. Example:
Needs to be sorted to:
I am reading the char array in from a file.
I AM NOT ALLOWED to use vectors, or pointers. I have to use char array only. I am pretty sure we aren't even allowed to use strings either. So I would prefer to avoid them.
Sorry to post so much on this topic, maybe I should just walk away from it for a few hours. But given I have been more clear on this post, I am hoping someone could bring the correct information to me.