delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/12/17/15:47:40

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3C1E5920.E7CB725E@phekda.freeserve.co.uk>
Date: Mon, 17 Dec 2001 20:44:16 +0000
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Use of mpf_out_str and mpf_input_str in Delorie port of gmp to DOS
References: <01KBYZRCDVJM90RF1A AT SLU DOT EDU>
Reply-To: djgpp AT delorie DOT com

Hello.

GAMMELJL AT SLU DOT EDU wrote:
>   cout<<"ho world"<<'\n';     //Writes "ho world" to file ho

Eli's already answered your question, but here's something else. Why don't
you use "endl" instead of "'\n'"?

    cout<<"ho world"<<endl;

Regards,

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


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