Mail Archives: djgpp/1998/05/12/22:16:32
>
>------=_NextPart_000_0006_01BD7DF6.0DB2F260
>Content-Type: text/plain;
> charset="iso-8859-1"
>Content-Transfer-Encoding: 7bit
>
>Found a simple password program in QBASIC and as an exercise tried to
>convert it to C. So simple, you may say. It is, but for the life of me I
>could not get printf (of all things) to work.
>
>Source attached.
>
>Yes, I know that it is not optimised fully, but the routine is there and I
>know it works. Why does it not prompt you for your password until after you
>have typed it?
>
>It works if I use cprintf or scanf, so I assume that after printf is used,
>the text is not printed until some interrupt is set off (like a function
>call). I thought it was the simple "print to stdout" routine?
>
>James Arthur
>jaa AT arfa DOT clara DOT net
>
>
I don't see a source attached...
Jim the loiterer
aloiterer AT juno DOT com
http://members.xoom.com/JimMcCue/index.htm
(Jim the loiterer's PC games, programming, & stuff...)
- Raw text -