[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why doesn't code from TYC++in21days work?
From: |
Gerald Lafreniere |
Subject: |
Re: Why doesn't code from TYC++in21days work? |
Date: |
Sat, 07 Aug 2004 17:33:32 GMT |
Gerald Lafreniere wrote:
>
> Now that I have it working, there is a loop bug happening.
>
> I compiled it in Win2K with mingw 3.2 & Dev-Cpp
>
> If you enter one of the selections, then you're okay. If you enter
> something else,
> the program enters an infinite loop, gliding over the 101:cin >> choice;
>
> I am just wondering where the problem is. I am guessing it's the OS and
> its header stuffs.
> Does this happen with your compiler? Is there a work-around?
>
> Gerald Lafreniere
OOPS I made a mistake the line number is
109:cin >> choice;