Solved

Converting char * to DWORD

Posted on 1997-08-19
2
592 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
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 tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

837 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