delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/12/22:16:32

From: qballlives AT aol DOT com (QBallLives)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Why doesn't this work?
Lines: 32
Message-ID: <1998051222442300.SAA17746@ladder03.news.aol.com>
NNTP-Posting-Host: ladder03.news.aol.com
Date: 12 May 1998 22:44:23 GMT
Organization: AOL http://www.aol.com
References: <001101bd7ded$f8a31380$a74e08c3 AT arthur>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>
>------=_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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019