• C

Newbie ?

how do I convert a decimal string to UINT

unsigned char c[]="0123456789";
unsigned int uin;

???????
wayanAsked:
Who is Participating?
 
tangywCommented:
Using
1. sscanf(c, "%d", &uin );
2. uin = (unsigned int )atoi( c );



0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.