Solved

Converting char * to DWORD

Posted on 1997-08-19
2
580 Views
Last Modified: 2010-08-05
What I'm doing is accepting a number as one of the program's command line arguments, but I need to get it out of text form and into numerical form. I'm looking for a code snippet that will accurately convert a  char * to a DWORD.
--
Matt Nicholson
mnichols@cs.fit.edu
0
Comment
Question by:mnichols
2 Comments
 
LVL 4

Accepted Solution

by:
md041797 earned 50 total points
ID: 1167725
use atoi ();
0
 

Expert Comment

by:kthorpe
ID: 1167726
Thanks!-- Matt
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

762 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

16 Experts available now in Live!

Get 1:1 Help Now