From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25079 invoked by alias); 25 Oct 2002 16:58:22 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 25031 invoked from network); 25 Oct 2002 16:58:21 -0000 Received: from unknown (HELO www.fastmail.fm) (209.61.183.86) by sources.redhat.com with SMTP; 25 Oct 2002 16:58:21 -0000 Received: from www.fastmail.fm (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id 3F0286DC85; Fri, 25 Oct 2002 11:58:16 -0500 (CDT) X-Epoch: 1035565096 X-Sasl-enc: fl9qqQdnZhzyyCFt1hbFcw Received: from fastmail.fm (x1-6-00-e0-81-03-b8-78.k35.webspeed.dk [62.242.176.171]) by www.fastmail.fm (Postfix) with ESMTP id C53A46DC5B; Fri, 25 Oct 2002 11:58:14 -0500 (CDT) Message-ID: <3DB97825.1030804@fastmail.fm> Date: Fri, 25 Oct 2002 09:58:00 -0000 From: bjorn rohde jensen Reply-To: bjensen@fastmail.fm User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Jessee, Mark" Cc: "'Moore, Mathew L'" , "'gcc-help@gcc.gnu.org'" Subject: Re: Problems with stringstream References: <83E3831A88E65844B01DB1A73FB66F93023BBBAC@CSDNT99.cdcgy.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-10/txt/msg00326.txt.bz2 Hi guys, Input and output on unix systems are buffered. std::cerr is usually line buffered, std::cout is line buffered, when directed to a terminal and block buffered, when connected to a file. In case of line buffered output, you dont see any, unless you flush it, or write a newline character to the stream, which causes the buffer to be flushed. Yours sincerely, Bjorn