Typically when you run into errors you want to take a look at the first one generated and see what you can do to fix it. Then re-compile. Rinse and repeat.
Failing that, you'll want to supply the actual text of the first few errors complete with line numbers so other people don't have to guess what errors you're talking about.
You might want to google : "How do I call a function in C++?", "How do I compare one character of a string to another in C++?" and "What is the scope of a variable declared in a for loop in C++?" When you've got those fixed you'll probably want to review the logic where you determine if the string is a palindrome, because that is wrong.