Subj : Re: Windows Prompt Runtimes SHORT-Debug To : borland.public.cpp.borlandcpp From : Jeremy Pham Date : Mon Jun 21 2004 06:25 am " Bruce Salzman" wrote: >#include > >Regards, >Bruce Thanks for the help Bruce, however now that I input conio.h as opposed to stdio.h, my current printf and scanf statements of the C language won't even be recognized. Should I change those statements? Also, some problems posed before were that the compiler didn't recognize "getch()", and that the programming language you guys suggest may be C++ rather than C. The main problem was that the runtimes for the program in the prompt is so short, that I want to prolong it so I can see my work. I'll post a sampl e program I made here: #include main() { int num1, num2; printf("Enter two integers, and I will tell you\n"); printf("the relationships they satisfy: "); scanf("%d%d", &num1, &num2); if (num1 == num2) printf("%d is equal to %d\n", num1, num2); if (num1 != num2) printf("%d is not equal to %d\n", num1, num2); if (num1 < num2) printf("%d is less than %d\n", num1, num2); if (num1 > num2) printf("%d is greater than %d\n", num1, num2); if (num1 <= num2) printf("%d is less than or equal to %d\n", num1, num2); if (num1 >= num2) printf("%d is greater than or equal to %d\n", num1, num2); return 0; } This program DOES compile, but when debugged and run, it runs so short. Any suggestions? Thanks for the help so far guys! Jeremy Pham .