Its been a while since I went to my program, but before a few days ago, I had a problem concerning a residual newline making my program do something it wasnt supposed to do. I used a cin.ignore function so it would read the newline and ignore it, so that the place where you were supposed to put input wouldnt read the newline, and the program would work properly. However, this is all in a big while loop, and the second time it goes through, for some reason, there is no residual newline (I guess?) and you have to input something yourself to be ignored. This is the code section: