[En-Nut-Discussion] String to dec

Harald Kipp harald.kipp at egnite.de
Wed Nov 24 16:16:02 CET 2004


tab[0] = (u_char)atoi(tab);

At 14:43 24.11.2004 +0100, you wrote:
>Hello,
>my application based to TCPS.
>
>How to make for:
>  to copy the contents of the stream to the variable  ' tab[0 ] ' 
> ex:  send>255 result = tab[0]=50, tab[1]=53, tab[2]=53 (ascii) !
>
>  but I wish that tab[0]=255
>
>thank you,
>
>Joël




More information about the En-Nut-Discussion mailing list