So, if I only got the user to input a string, then the value of 'p' wouldn't be read only and could be manipulated by reverse?
About pointers. for my purpose, if I declared p as an array with a static-sized buffer (I believe that's what they're called) and then send it down to reverse, it would work. Similarly, if I declared it as a pointer but didn't initialize it with a string literal, it would work?
Please tell me if the above assumptions are correct, althought I'll go to test them myself right now.
BTW thanx for that mini-tutorial, prelude, I'm starting to understand somethings now. Just gotta read some parts over a few times for them to sink in.![]()



LinkBack URL
About LinkBacks




