"japh" <japh@eudoramail.com> wrote...[color=blue]
>I am on chapter 7 of my C++ text (sigh). Could you help me understand
> this? If the user inputs an int, the script works as it should. If
> they enter a char instead, it goes into an endless loop.[/color]
This is actually a FAQ. Visit
http://www.parashift.com/c++-faq-lite/
Read it all when you have time just to get an idea what has already
been answered, so you don't ask about it again (unless it's unclear
or you think it's incorrectly answered there). For now, you need the
section 15.
[color=blue]
> I'm coming
> from un-typed languages like PERL and PHP so this makes no sense to me:
> (PS - is there a way to preserve indentation in this bulletin board ?)[/color]
Not if you're using Google's delapidated posting service. Get a real ISP
and connect to their news server using a real news reader.
[color=blue]
> [...][/color]
V