On Thu, Mar 22, 2007 at 03:55:10PM -0700, troy engel wrote:
> (unplug and plug in device)
> $ time ./bcharge-c
> Scanning for Blackberry devices...
> Found device #002...adjusting charge setting...not a Pearl...done
> real0m0.003s
> user0m0.001s
> sys 0m0.002s
>
> (unplug and plug in d
I see no reason to keep it c++.
Reduce complexity and overhead. Sounds like a win to me.
Sent via BlackBerry from T-Mobile
-Original Message-
From: "troy engel" <[EMAIL PROTECTED]>
Date: Thu, 22 Mar 2007 15:55:10
To:barry-devel
Subject: [Barry-devel] bcharge: cpp vs
I was mainly curious as to why bcharge was CPP compiled, since the
code itself was just your basic procedural stuff. I wondered "would it
be smaller as c?" and "what about linked libs?" so I played around for
a few secs.
bcharge.cc was easily converted to bcharge.c by replacing the two
'bool' uses