Hi all.

Been pulling my hair out on this one. I keep getting the following error when my program hits return(0);.

Run-Time Check Failure #2 - Stack around the variable 'gamechoice' was corrupted.

I have only just started using this editor so it may be something i'm over looking. The only way to stop it from doing it is to use exit(0);.

Can anyone help?

Thanks in advance