Re: own string class

From: Bonj (benjtaylor)
Date: 12/07/04


Date: Tue, 7 Dec 2004 18:33:17 -0000

Well, perhaps the same reason they'd "object" to me writing my own
encryption or compression?
It seems a lot of the time when I ask for advice about how to do something,
instead of answering the question as written, a lot of people try to solve
what they see as the 'wider' problem and advise me to use a "tried and
tested" library that someone's already built, but that I often (as in,
often - not always) then find impossible or confusing to configure or use
the way I want.

I don't have any particular problems with creating my own string library,
but since people seem so good at recommending an alternative, I thought I
might give them the chance.

I read the following website, which saved me the effort of searching for an
easy way of converting a std::basic_string to a BSTR, thinking that the
std::basic_string would be one of the things people would tell me to use:
http://home.comcast.net/~georgesalnikov/CodeSamples/cpp.html

However, I think all the indications are that I should definitely roll my
own on this one. I'll also have to use C++.

"David Webber" <dave@musical.demon.co.uk> wrote in message
news:enJD79H3EHA.824@TK2MSFTNGP11.phx.gbl...
>
> "Bonj" <Bonj@discussions.microsoft.com> wrote in message
> news:D84618EF-5AC4-4B6F-90A6-BBB57A97931D@microsoft.com...
>
>>...
>> Objections?
>
> Why should anybody object? (I have done at least two in my time and
> didn't ask for permission.)
>
> Dave
> --
> David Webber
> Author MOZART the music processor for Windows - http://www.mozart.co.uk
> For discussion/support see http://www.mozart.co.uk/mzusers/mailinglist.htm
>
>



Relevant Pages

  • Re: How to know if EXE is encrypted or compressed?
    ... Good advice. ... I already knew this property of encryption & compression, ... Prev by Date: ...
    (comp.lang.asm.x86)
  • Re: AES and Diehard
    ... >you could employ kill file, ... The result of encryption which might eventually develop ... a standard for crypto the 'diversity' of interests is ... compression algorithm could exploit in order to compress. ...
    (sci.crypt)
  • Re: Wherea are the newbies
    ... happens even when people *want* advice. ... to get you to continue writing? ... I couldn't chuck out any scene, ... Once I've finished the viewpoint I started before I stopped the last ...
    (rec.arts.sf.composition)
  • Re: Wherea are the newbies
    ... when people *want* advice. ... They might have new ideas about writing that we ... it is just a heap. ... making a castle out of the Lego bricks. ...
    (rec.arts.sf.composition)
  • [HPADM] SUMMARY: File Transfer from AS400 to HP-UX with compression and e ncryption?
    ... Also I'd like to know what compression and/or encryption techniques might be ... We're currently doing FTP from AS400 which is taking about 5 hours so they'd ... The gzip site says there is no encryption available for gzip so one would ...
    (HP-UX-Admin)