I've been trying to create a program that alphabetizes a given array of strings. The program builds just fine, but when I try to debug it, it crashes on me and displays the message "Unhandled exception at 0x5fc0c0e7 (msvcr100d.dll) in Alphabetize.exe: 0xC0000005: Access violation reading location 0xcccccccc."
I've looked over the program, but I can't see whats wrong with it. I've never programmed with strings before, so it might be something very fundamental that I'm not getting correct. Help would be much appreciated!
Thank you firedraco! I got rid of the "unhandled exception error" by changing it to the following. However, the next problem I ran into is that the program seems to continue looping on forever, without stopping or going on to the next part. I'm not sure what the problem is.
Sorry for all the questions, but I'm fairly new at this and my logic isn't all that great. Thanks in advance.