Formatting in C++ (fwd)
Peter L. Peres
plp-ysDPMY98cNQDDBjDh4tngg at public.gmane.org
Sat Dec 27 23:49:54 UTC 2003
On Sat, 27 Dec 2003, John Wildberger wrote:
> On December 27, 2003 02:38 pm, Peter L. Peres wrote:
>
> > Would it help if I'd say that I prefer to use form() for this ? ;-)
> >
> > The << overloading is supposed to make your life easier, not the other
> > way around.
> >
> > Peter
> This gets better with every turn. ( for me more and more mysterious). What
> does form() do? How can I use it ?
#include <iostream.h>
cout << form( "%02X", buf[i] );
This should be in libio (i.e. do -lio when linking if the compiler
complains). Why not do info iostream and spend some time reading (consider
that this is not a tutorial - you are reading manual pages). I hope that
you know how hopeless it is to learn C++, or any language, from 5 email
messages and a few manual pages.
> You also suggested some time back that I should spend time to index my
> system. What exactly did you have in mind? Surely, I cannot go over
> every item in my system and catalog what each item means and what it
> does. Years would not be enough to accomplish this.
;-) I meant for you to activate whatever your system uses for indexing
program and let it run (can take two days). It could be glimpse or htdig.
I use htdig. Then you have a search form which you access locally with
your browser and can do text searches on your own system. Obviously this
includes infos, howtos, and most documents you have on your system. I have
almost 2GB indexed and I can find everything (eventually).
hope this helps,
Peter
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list