Mail Archives: djgpp/1996/11/24/01:37:37
Could any one explain the following to me:
I installed djgpp v2.01. I then found the following odd
behavior. I compiled the following program:
#include<stdio.h>
#include<conio.h>
int main(void)
{
printf("Before getch");
getch();
return(0);
}
But when I ran it, it waited for a key press *then* printed
the text rather than the other way round. What is going on?
Dave.
*********************************************************************
* DAVID POTTS *
* 11F Lawngreen Avenue, Chorlton-cum-Hardy, MANCHESTER, M21 8FH, UK *
* e-mail: mfepsdp AT afs DOT mcc DOT ac DOT uk Phone: +44 (0)161 881 2656 *
*********************************************************************
- Raw text -