Okay, to do that you need instructons from a file so that your program knows how to unscramble.
If not, this would work:
Loop it to switch every two letters. For an example:
It might need a little more help but that should get you started.
for(i = 1; i < FILE_SIZE; i = i + 2)
if(((FileBuffer[i] == ' ') || (FileBuffer[i] == '\0')) || ((FileBuffer[i - 1] == ' ') || (FileBuffer[i - 1] == '\0')))
storage = FileBuffer[i] + 0;
FileBuffer[i] = FileBuffer[i - 1] + 0;
FileBuffer[i - 1] = storage + 0;
So now this:
noe wto htere ofru ifev isx esevn iehgt inen ten
Would look like this:
one two three four five six seven eight nine ten
Hope that helps, August.