www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/17/02:25:35

From: twidler AT aol DOT com (Twidler)
Newsgroups: comp.os.msdos.djgpp
Subject: printf in DJGPP
Lines: 15
NNTP-Posting-Host: ladder02.news.aol.com
X-Admin: news AT aol DOT com
Date: 17 Oct 1998 06:21:16 GMT
Organization: AOL Canada http://www.aol.ca
Message-ID: <19981017022116.25669.00002002@ng112.aol.com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I am using printf in my programs just to debug my code.  Uno,
printf("\n%d",test);  just to see if the value is the right one at run time. 
And sometimes, for some strange reason, the output turns up after the part of
the program that I put it in.  

say I go :

Printf("\n%d =%d", i, value);
readkey();   // allegro
Do_Screen_Blur();

for some reason the print f will be shown after the Do_Screen_Blur();
what could be wrong?

Twidler

- Raw text -


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