Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 199
  • Last Modified:

Newbie ?

how do I convert a decimal string to UINT

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

???????
0
wayan
Asked:
wayan
1 Solution
 
tangywCommented:
Using
1. sscanf(c, "%d", &uin );
2. uin = (unsigned int )atoi( c );



0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now