IU Confusion

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IU Confusion

345件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ex-kayoda on Fri Feb 03 06:04:35 MST 2012
This itoa is kidding me :eek:

http://support.code-red-tech.com/CodeRedWiki/redlib_v2_notes?highlight=%28itoa%29

Behaves like utoa and indeed it's defined:

void itoa([B][COLOR=Red]unsigned int[/COLOR][/B] value, char *vstring, unsigned int base);

So what is it, itoa or utoa :confused:
0 件の賞賛
4 返答(返信)

337件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ex-kayoda on Thu Mar 01 03:46:18 MST 2012
It's working perfect now :):)

Thanks,
Kay
0 件の賞賛

337件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Feb 29 23:17:54 MST 2012
For an update on [FONT=Courier New][SIZE=2]itoa()[/SIZE][/FONT] in LPCXpresso v4.2.0, please see the FAQ at:

http://support.code-red-tech.com/CodeRedWiki/redlib_itoa

Regards,
CodeRedSupport
0 件の賞賛

337件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Fri Feb 03 12:46:17 MST 2012

Quote: kayoda
So what is it, itoa or utoa :confused:



As whitecoe pointed out itoa() isn't a standard C library function. However I think that you are basically correct, the current implementation of itoa() in Redlib is really an implementation of uitoa(). We'll look at providing both itoa() and uitoa() in a future release of LPCXpresso.

Regards,
CodeRedSupport
0 件の賞賛

337件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by whitecoe on Fri Feb 03 08:46:23 MST 2012
itoa() is not a standard C library function, thus I'm not sure how you can complain!

If the version supplied doesn't match your exact needs, there are hundreds of source implementations floating around on the web that you could use instead, for example:

http://www.strudel.org.uk/itoa/

HTH!
0 件の賞賛