www.delorie.com/archives/browse.cgi | search |
From: | G DOT DegliEsposti AT ads DOT it |
To: | schoenbg AT jhu DOT edu |
cc: | djgpp AT delorie DOT com |
Message-ID: | <C12565D8.0044C918.00@vega.ads.it> |
Date: | Tue, 31 Mar 1998 14:32:32 +0200 |
Subject: | Re: Re: printf |
Mime-Version: | 1.0 |
>I keep answering my own questions - not sure if that's a good thing. So >I discovered the fflush() function to write a partial line. Now I'm >wondering why when I change the text color attribute with >textcolor(YELLOW), the next printf statement still prints in standard >off-white. This is because you are mixing stdio.h and conio.h functions. printf doesn't know anything about colors. You have to use cprintf. ciao Giacomo
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |