hadeelqasaimeh
Joined: 05 Jan 2006 Posts: 105
|
atoi(),help plz:-{ |
Posted: Fri Sep 01, 2006 11:10 am |
|
|
hi all
is there any way to convert a char onto int?
my code recieve data from rs232 serial port,,and
i need to out them on portD (as integer of course).
i try to use atoi() function,,its work correct from(0-9)
but it dosent work for (a-f),,i dont know why?
i dont know if i can use #include<input.c> and how?
anybody can help,,please. ![Shocked](images/smiles/icon_eek.gif) |
|