Re: Computer programmers' habits in electronics
- From: Spehro Pefhany <speffSNIP@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 21 Dec 2005 21:40:00 -0500
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
.
- References:
- Re: Computer programmers' habits in electronics
- From: onehappymadman
- Re: Computer programmers' habits in electronics
- From: Rich Grise, but drunk
- Re: Computer programmers' habits in electronics
- From: Rich Grise, but drunk
- Re: Computer programmers' habits in electronics
- From: Tim Wescott
- Re: Computer programmers' habits in electronics
- From: Spehro Pefhany
- Re: Computer programmers' habits in electronics
- From: Mike Young
- Re: Computer programmers' habits in electronics
- From: Spehro Pefhany
- Re: Computer programmers' habits in electronics
- Prev by Date: Re: Something we can all agree on
- Next by Date: Re: Datasheets.org.uk
- Previous by thread: Re: Computer programmers' habits in electronics
- Next by thread: Re: Computer programmers' habits in electronics
- Index(es):