Function "scanf" in Linux

Krisztian Kadar cristianc@angelfire.com
Thu Aug 23 06:52:00 GMT 2001


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/



More information about the Gcc-help mailing list