In article <>,
ian-
says...
> >>> In the following code, even though the program executes, the 2nd
> >>> prompt fails to process data. The 1st prompt requires 2 returns (why is
> >>> that?), but the 2nd doesn't: it prompts, waits for data, and goes on to
> >>> the last "cout" with no value in "quantity".
> >> [redacted]
> >>
> >> What platform and compiler are you using? It looks OK source-wise,
> >> and it works for me, compiling with 0 warnings, g++ 4.5.3, Cygwin.
> >>
> > VS6.0, Windows XP SP3
>
> Nobody in their right mind uses VS6 these days!
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Yes, I get that a lot. 8<{{
If I could switch to one of the free compilers, I would do so.
However, with over 1,000,000 lines of code with dependencies on STL and
other things that don't seem to be in the free versions, I can't. And
obviously, I can't afford to purchase a paid version... <sigh>