When you have an error, it would often be really, really helpful if you told us instead of making us guess. Seriously, coming to us and saying "I've got a problem" and then not telling us what the problem is? Surely you can understand that it would be much more helpful if you told us what the problem was. Your compiler said something. That's how you know what the problem is. If you want us to also know, you need to tell us as well.
As it is, this one I can see.
reverse(one.at(0),one.at(4));
one.at(0) is a char. one.at(4) is a char.
This function, reverse, does not accept two char as parameters. It accepts iterators.
Thanks Moschops,I normally would give the compiler error message but the message is lines and lines long so it would take a huge amount of time to write out
so basically only intergers are accepted by this function?