Error while trying to reverse a char array
- by mpminnich
Hi, I'm trying to get better at C++ (I know a little). I'm working on character arrays. I found an exercise where the objective is to reverse a character array (after I convert it from an integer). I'm getting the following error (using VS2005):
Run-Time Check Failure #2 - Stack around the variable 'revBuffer' was corrupted.
When I step through…