Re: Computer programmers' habits in electronics



On Wed, 21 Dec 2005 21:26:39 -0500, Spehro Pefhany
<speffSNIP@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

>On Thu, 22 Dec 2005 00:18:01 GMT, the renowned "Mike Young"
><boat042-spam@xxxxxxxxx> wrote:
>
>>"Spehro Pefhany" <speffSNIP@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>>news:77mjq1122eq9r4ho7f784ahpfp5l9l4htl@xxxxxxxxxx
>>> Something like this? (ugh)
>>>
>>> #include <string.h>
>>>
>>> rev2(char * istring, int start, int fin)
>>
>>No. Something like this:
>>
>>#include <algorithm>
>>
>>void ReverseString(const char * pStr, size_t len = 0);
>>void ReverseString(const char * pStr, size_t len)
<snip>

P.S., I don't think you want those 'const' thingies up there..


Best regards,
Spehro Pefhany
--
"it's the network..." "The Journey is the reward"
speff@xxxxxxxxxxxx Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog Info for designers: http://www.speff.com
.


Quantcast