From: "Aleks D." Newsgroups: comp.os.msdos.djgpp Subject: DJGPP and while loop. Lines: 31 X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MIMEOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Message-ID: Date: Sun, 14 May 2000 02:28:27 GMT NNTP-Posting-Host: 216.209.52.40 X-Trace: news20.bellglobal.com 958271307 216.209.52.40 (Sat, 13 May 2000 22:28:27 EDT) NNTP-Posting-Date: Sat, 13 May 2000 22:28:27 EDT Organization: Sympatico To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello, I am running Windows 98 and DJGPP. I am a beginner in C and am having problems running compiled programs that include a while loop. I can successfully compile the following code from RHIDE: #include int main() { int count; count = 0; while(count < 6); { printf("The value of count is %d\n", count); count = count + 1; } return 0; } But when I go and execute the compiled .exe in the /bin directory there is no correct output displayed. I only get a cursor on the left side of the screen. Any help will be appreciated.