Solved

Newbie ?

Posted on 1998-12-22
1
191 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
why debugging a macro i s difficult 10 28
undefined reference to `bswap_128' 9 136
C++ finding a sting in a char* string from a text file 3 99
Problem to show menu 5 87
An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops 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.

930 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now