This is a great program for someone learning c++ so I don't think it'll do you much good to just have someone write it for you. Instead, i'll give you a couple of hints on how to do it (although there are many different ways).
Let's say we have the following string:
string reverse="reverse"
reverse[0] gives access to "r" and
reverse[6] or reverse[reverse.length] gives access to the last "e" in reverse
one could think of a way to make a loop that loops through the string in reverse and set each letter equal to the string as if it were running through the loop normally. Or vice versa.
so something kind of like
int j=0;
for(int i=string.length;i>0;i--){
//some code here