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]

Function "scanf" in Linux


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


Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/


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