hi im new here
Im searching for a function that a letter can place at end of the word
in the program you must firts read the word(school) and a number(3)
than must be the first 3 letters of the word go to the end of the word
like this => "OOLSCH"
i have a program but it dont work, every time they say that there are things that not are declared.
Is there someone who can help me !!
What you're doing is the first step of block sorting (i.e., without the sorting). So hamsterman is correct -- it isn't sorting. In addition to the code he gave, I think you can find examples on the Web by searching for "block sorting" or "Burrows Wheeler transform"...