delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/11/16:41:47

Message-ID: <38F387CE.FC7D39F6@hotmail.com>
Date: Wed, 12 Apr 2000 04:15:10 +0800
From: Reuben Foong <xiaolonglee AT hotmail DOT com>
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: left adjustment with iomanip
References: <8cvctg$nj1$1 AT news DOT lth DOT se>
NNTP-Posting-Host: sgt-66-71.tm.net.my
X-NNTP-Posting-Host: sgt-66-71.tm.net.my
X-Trace: 12 Apr 2000 04:06:43 +0800, sgt-66-71.tm.net.my
Organization: TMnet Malaysia
Lines: 20
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I think DJGPP is mainly C ...

Niklas Pettersson wrote:

> Hello!
>
> How can I can text left adjusted in Standard C++ way?
>
> ex
>
> cout << setw(50) << "Hello World";
>
> will work but print things right adjusted, maybe
>
> cout << left << setw(50) << "Hello world";
>
> but DJGPP won't let this pass...
>
> / Niklas

- Raw text -


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