C++ console application acting up
<p>I am very new to programming, and have been following a C++ tutorial for the past week or so. Today, I decided to make my own console application without help to make sure I have all the concept down I have read so far. The application asks you in the beginning for 5 different words to put into a 5 element array. You are then prompted by a menu giving you 4 options: print the contents of the array, re-enter all the words again, edit only one array element, or exit the app.</p>

<p>When I choose the "edit only one array" option, the application gives another menu asking you to press "1" to print the array, or press any other key to just go on editing. The straight-to-editing option leads to a mashed up version of the start of the program, and using the "1" option leads to just chaos: <a href="http://i.imgur.com/3isTD.jpg" rel="nofollow">http://i.imgur.com/3isTD.jpg</a>. The console continues to print objects on the screen similar to the ones in the picture for about 5 seconds, until I am prompted by a popup asking me to end the process. I receive this in the output log after the application closes: pastebin.com/KcRU56Tg</p>

<p>The source code for my application can be found here: <a href="http://pastebin.com/vRUddYuK" rel="nofollow">http://pastebin.com/vRUddYuK</a>. I would normally attempt to debug this myself (and have been for the past hour and a half), but I feel that this is way over my head. Any help will be appreciated. Thank you.</p>
