Re: embedded questions!!!
- From: "Rufus V. Smith" <nospam@xxxxxxxxxx>
- Date: Thu, 12 Jan 2006 17:26:40 -0500
"#define" <u4karsh@xxxxxxxxx> wrote in message
news:1135707058.003352.250540@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hello All,
>
> Some C questions were bugging me from quite some time. Any answers!
> please share.
>
> 2. Given 2 Strings char *str1 = "JHONSON";
> char *str2 = "O";
>
> what is the fastest way to remove all occurences of letter O from str1.
>
str1[0] = '\0';
Rufus
.
- Follow-Ups:
- Re: embedded questions!!!
- From: Ian Bell
- Re: embedded questions!!!
- From: Chuck F.
- Re: embedded questions!!!
- Prev by Date: Re: USB descriptor debugging
- Next by Date: Re: MSP430, simulate reset (for a software bootstrap loader)
- Previous by thread: USB CY7C67300 chip HPI
- Next by thread: Re: embedded questions!!!
- Index(es):
Relevant Pages
|