delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/09/28/06:06:45

From: "Petr Danicek, " <DANICEK AT KVT DOT UJEP DOT CZ>
Organization: UJEP Usti nad Labem, Czech republic
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Thu, 28 Sep 1995 11:20:05 MET
Subject: problems with delay

I have such problem. I wrote hello word program and added to this
program after printf   delay(5000) (gppconio.h was included)
but delay was done before printf
even if there were for (i=0;i<value;i++) printf("%d\n",i);
for cycle was done from 0 to i=98 after it program delayed 5 sec and
after it printed 99
What I'm doing wrong?
I'm running gpp 2.6.0

Many thanks
                        Petr Danicek
                        Danicek AT kvt DOT ujep DOT cz

- Raw text -


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