Hi guys I am just doing a little practice and what I thought would be pretty trivial is actually giving me some problems my program seems to crash when I try to reverse my string I can't see what I'm doing wrong everything looks right to me all memory addresses should be valid
it says that it only takes bidirectional iterators as arguments yet it works with pointers aswell?
Yes in this circumstance any differences between iterators and pointers are not important. Remember an iterator acts a lot like a pointer in many circumstances.