delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/28/17:36:53

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.linux.development.apps,comp.os.msdos.djgpp,comp.unix.programmer
Subject: Re: C++ Passing ostreams by reference to methods, problem
Date: Wed, 28 May 1997 12:41:44 -0700
Organization: Alcyone Systems
Message-ID: <338C8A78.314DF573@alcyone.com>
References: <01bc6b49$27fce100$1b2443a1 AT pcoec DOT uclm DOT es>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
Lines: 19
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Roberto Henríquez Laurent wrote:

>         It works perfectly under MS-DOS, compiling with DJGPP. Under
> Linux the
> output goes to stdout instead of going to the file. Both versions of gcc
> are 2.7.2.

The code fragment looks correct.  What you should do is distill the
program to the smallest one which will reproduce your problem, and then
post it.

-- 
       Erik Max Francis, &tSftDotIotE / email / max AT alcyone DOT com
                     Alcyone Systems /   web / http://www.alcyone.com/max/
San Jose, California, United States /  icbm / 37 20 07 N  121 53 38 W
                                   \
     "Covenants without the sword / are but words."
                                 / Camden

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019