how does this grab ya?
Code:
#include <iostream>
using namespace std;

int main(){
char word[5]={'b','i','r','d','s'};
char temp1[5];

for (int i = 5; i > -1; i--)
{
char temp1 = word[i];
word[i] = temp1;
cout<<word[i];
}
cout<<endl;
}
hope it helps. i think this is what xpi0t0s was saying. you just turn the signs in the for loop, and make everything opposite.
also i the for loop you put i=i++, i++ will work fine ^^

Last edited by cpulocksmith; 19Feb2009 at 05:13.. Reason: word[i] = word[i]; what the hell?