| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| From: | "buda" <kulghan AT hotmail DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | help needed |
| Date: | Tue, 5 Oct 2004 21:43:17 +0200 |
| Organization: | HTnet |
| Lines: | 22 |
| Message-ID: | <cjutcm$j3m$1@ls219.htnet.hr> |
| NNTP-Posting-Host: | 83-131-0-186.adsl.net.htnet.hr |
| X-Trace: | ls219.htnet.hr 1097005270 19574 83.131.0.186 (5 Oct 2004 19:41:10 GMT) |
| X-Complaints-To: | abuse AT htnet DOT hr |
| NNTP-Posting-Date: | Tue, 5 Oct 2004 19:41:10 +0000 (UTC) |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 6.00.2800.1437 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1441 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Hi
I installed the latest version from the djgpp site, and all seemed well. The
C compiler works fine (and has worked fine for me in the past), but I'm
having trouble with the c++ compiler. Any program that has to read in more
than one line of input (from cin) crashes. When I run it and type in the
input, and it seems to get stuck somewhere. I'm talking about simple
programs like
#include<iostream>
using namespace std;
int main()
{
int x, y;
cin >> x >> y;
return 0;
}
If I were to enter some number and press enter, the program gets stuck and I
have to kill it. If I enter all the input in a single line, it works fine.
The install process seemed to pass without any errors. Any ideas?
Thanks for your help.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |