www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/13/18:03:52

From: Bjoern DOT Appel AT frankfurt DOT netsurf DOT de (Bjoern Appel)
Newsgroups: comp.os.msdos.djgpp
Subject: char getch(void)
Date: Tue, 13 Jan 1998 22:14:07 GMT
Organization: Hamnet
Message-ID: <34bbe72b.4606230@news2.frankfurt.netsurf.de>
NNTP-Posting-Host: deck-190.frankfurt.netsurf.de
Lines: 24
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,
I've this little program:

//start of little program **********
#include<stdio.h>
#include<conio.h>

int main(void)
{
  clrscr()
  printf("Please wait...");
  getch();
  return 0;
}
//end of little program **********

Now the problem:
The program shows a blank screen and will print the "Pleas wait..."
AFTER I pushed a button, not BEFORE !!!

What could I do ?


Bjoern

- Raw text -


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