I'm working on a c++ assignment and i need a little help. I have to compare two end slots in a char array and work my way in ex. first with last, second with second to last ect., then return wheather all the charecter match or not. I can't figure out how to exactly to do it. I know it has something to do with a loop and an if statement but how how exactly i can't figure out.
__________________
 <br /><br />All blades cut, be they made from metal or wood, but the sharpest and deadliest blade is the one of knowledge, and that is the least used.<br />An Archmage of the HADB
|