[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [paragui-users] Some first time user questions
From: |
Paul Williams |
Subject: |
Re: [paragui-users] Some first time user questions |
Date: |
Mon, 30 Aug 2004 09:02:40 -0700 (PDT) |
No, there's no need to track every cout, cerr etc...
just reassign cout/cerr/clog to /dev/null (or it's
windows equivilant) as one of the first steps in your
main() routine. see the following snippit:
#include <iostream>
#include <fstream>
using namespace std;
int main( void )
{
filebuf fb;
fb.open("/dev/null",ios::out);
ostream foo(&fb);
cout = foo;
cout << "look, not much to see!" << endl;
}
--- Asko Kauppi <address@hidden> wrote:
>
> I'd propose building such a system in there - the
> ability to compile
> without '#include <iostream>' would allow easier
> porting to WinCE as I
> recently mentioned.
>
> Currently, you'd need to track every 'cerr' and
> 'cout' line to do that.
> :) They aren't that many, though.
>
> A compile time switch to cause output to named files
> (or nul) might be
> enough?
>
> -ak
>
> 30.8.2004 kello 15:16, Joakim Kolsjö kirjoitti:
>
> Hello...
> >
> > Is there any way to turn off the textoutput from
> paragui to stdout?
> > Btw.. are there any other themes out there
> somewhere? (exept simple
> > and default).
> >
> > / Joakim
> >
> >
>
_________________________________________________________________
> > Help STOP SPAM with the new MSN 8 and get 2 months
> FREE*
> > http://join.msn.com/?page=features/junkmail
> >
> >
> >
> > _______________________________________________
> > paragui-users mailing list
> > address@hidden
> >
>
http://lists.nongnu.org/mailman/listinfo/paragui-users
> >
>
>
>
> _______________________________________________
> paragui-users mailing list
> address@hidden
>
http://lists.nongnu.org/mailman/listinfo/paragui-users
>