public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* FW: how to associate fstream object with stdout
@ 2003-01-30 18:51 Ajay Bansal
  0 siblings, 0 replies; only message in thread
From: Ajay Bansal @ 2003-01-30 18:51 UTC (permalink / raw)
  To: gcc-help


[-- Attachment #1.1: Type: text/plain, Size: 552 bytes --]

Ne pointers on this?????

>  -----Original Message-----
> From: 	Gagan Puri  
> Sent:	Friday, January 31, 2003 12:25 AM
> To:	Ajay Bansal
> Subject:	how to associate fstream object with stdout
> 
> Hi All,
> 
> Following piece of code works with gcc 2.95
> 
> 
> fstream * pcout
> pcout = new fstream(1);  //set the output stream to stdout'
> pcout<<"any thing"
> 
> 
> But with gcc 3.21,  pcout = new fstream(1);  is not allowed. So how
> can associate my fstream object with stdout in gcc 3.21.
> 
> Kindly advise,
> 
> Gagan

[-- Attachment #1.2: Type: text/html, Size: 1773 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-30 18:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-30 18:51 FW: how to associate fstream object with stdout Ajay Bansal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).