help needed on coversin of an char array to an integer
- From: MAx <mahesh1280@xxxxxxxxx>
- Date: Thu, 21 Feb 2008 01:21:01 -0800 (PST)
Hi,
Im kinda stuck in a project at a point where i need an array to
be converted to a
integer using some kind of math.
This board does not support functions like scanf, sscanf etc as
it does not have enough memory to hold their stack.
given a string char str[8] = {'0', '0', '0' , '1' , 'f' , 'b' ,
'c' , 'a' };
i need a function which can convert this array to an integer
( 0x0001fbca )
Expecting a quick response.
Thanks
MAx
.
- Follow-Ups:
- Re: help needed on coversin of an char array to an integer
- From: Bartc
- Re: help needed on coversin of an char array to an integer
- From: Mark Bluemel
- Re: help needed on coversin of an char array to an integer
- From: Willem
- Re: help needed on coversin of an char array to an integer
- From: MisterE
- Re: help needed on coversin of an char array to an integer
- From: vippstar
- Re: help needed on coversin of an char array to an integer
- From: Nick Keighley
- Re: help needed on coversin of an char array to an integer
- From: MAx
- Re: help needed on coversin of an char array to an integer
- Prev by Date: Re: printf() Specification for size_t?
- Next by Date: Re: help needed on coversin of an char array to an integer
- Previous by thread: How to integrate two c files
- Next by thread: Re: help needed on coversin of an char array to an integer
- Index(es):
Relevant Pages
|