This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Function "scanf" in Linux


>>>>> " " == Krisztian Kadar <cristianc@angelfire.com> writes:

     > Hello!  I got the following strange behavior when I was running
     > my program which used the scanf function in order to type in
     > data using the keybord.  At execution the program run over the
     > function scanf as if it had not been there so it did not wait
     > for the keybord.  after running it under the gdb debbuger it
     > behaved normaly so the program stopped at scanf and waited for
     > typing from keybord.

     > Does anyone know why the program did not stop at function scanf
     > in the first case ?

     > Thanx in advance Krisztian

It works very well on my system, please post a small, compilable
example program which shows the suspicious behavior. Although I doubt
that is an issue with gcc.

Claudio


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]