Solved

Newbie ?

Posted on 1998-12-22
1
193 Views
Last Modified: 2010-04-15
how do I convert a decimal string to UINT

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

???????
0
Comment
Question by:wayan
1 Comment
 

Accepted Solution

by:
tangyw earned 40 total points
ID: 1255377
Using
1. sscanf(c, "%d", &uin );
2. uin = (unsigned int )atoi( c );



0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to design, and implement simple interface 5 140
libcurl - taking long time on curl_easy_perform 11 468
Problem to scan all sheets 3 122
nested if statement in excel help 4 42
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question