X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <41663d84$0$174$cc7c7865@news.luth.se> From: Martin Str|mberg Subject: Re: help needed Newsgroups: comp.os.msdos.djgpp References: <2sgi24F1kprjhU1 AT uni-berlin DOT de> <2siqhqF1lst8gU2 AT uni-berlin DOT de> User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (NetBSD/1.6Q (alpha)) Date: 08 Oct 2004 07:11:00 GMT Lines: 8 NNTP-Posting-Host: speedy.ludd.ltu.se X-Trace: 1097219460 news.luth.se 174 130.240.16.13 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I don't do C++, so I can't help much. However does your program behave correctly with the inputs Martin Ambuhl specified? I. e. '1 2\n' or '1\n2\n'? Right, MartinS