| delorie.com/archives/browse.cgi | search |
| From: | richard AT stardate DOT bc DOT ca (Richard Sanders) |
| To: | djgpp AT delorie DOT com |
| Subject: | Re: Question about the operation of printf() |
| Date: | Tue, 17 Nov 1998 07:10:42 GMT |
| Message-ID: | <3651201d.34934107@mail.rapidnet.net> |
| References: | <199811160855 DOT RAA24582 AT inmac3 DOT snu DOT ac DOT kr> |
| In-Reply-To: | <199811160855.RAA24582@inmac3.snu.ac.kr> |
| X-Mailer: | Forte Free Agent 1.11/32.235 |
| Reply-To: | djgpp AT delorie DOT com |
>But, ... > >if this program is compiled and made executable by >the gcc.exe of the DJGPP, the result is the following: > ><no output> At this point in your program you need to flush the file buffer. Use fflush(stdout); > >and when I press a button (for example, b), >then the output is > >ba > Hope that helps. Cheers Richard
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |