This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Function "scanf" in Linux
- To: gcc-help at gcc dot gnu dot org
- Subject: Function "scanf" in Linux
- From: "Krisztian Kadar" <cristianc at angelfire dot com>
- Date: Thu, 23 Aug 2001 15:52:03 +0200
- Organization: Angelfire (http://email.angelfire.mailcity.lycos.com:80)
- Reply-To: cristianc at angelfire dot com
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/