This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Strange behaviour of "cin"
- From: "Arun Saini , Gurgaon" <arun at ggn dot hcltech dot com>
- To: gcc at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Cc: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Fri, 15 Feb 2002 22:58:40 +0530
- Subject: Re: Strange behaviour of "cin"
I have provided the trace that is withing the istream.tcc file of libstdc++
and not of my code.
I cannot post the code for legal reasons.
>From: Benjamin Kosnik <bkoz at redhat dot com>
>To: "Arun Saini , Gurgaon" <arun at ggn dot hcltech dot com>
>Cc: libstdc++ at gcc dot gnu dot org, gcc at gcc dot gnu dot org
>Date: Fri, 15 Feb 2002 09:13:40 -0800 (PST)
>Subject: Re: Strange behaviour of "cin"
>
>
>
>> I have a program where "cin" fails. I tried tracing through the call
>>using gdb. I provide the trace below.
>
>Stepping through C++ code with gdb can be deceiving. Can you just post
>your code please?
>
>-benjamin