I dunno if this is what u r looking for but it works for flippin things around I only breifly read ur post. Here it goes.
Code:
#include <iostream.h>
#include <stdlib.h>
#include <string.h>
int main()
{ char in[51], out[51];
int i=0,x,h=0;
cout<<"Input Some Text No Less Then 50 Chars\n";
cin>>in;
x=strlen(in);
while (h<x)//between here
{ out[i]=in[x];
cout<<out[i];
x--;
i++;
h++;
}//and here
system("PAUSE");
return 0;
}
I never tried to compile it so It may not work. I didn't even go over it really. It s just to give you the idea of what I mean;