delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/26/22:05:45

From: "Ryan Crumley" <ryc AT usa DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: argv[], char, and int
Date: Sat, 26 Apr 1997 12:16:34 -0600
Organization: x18
Lines: 14
Message-ID: <5jtgo3$74r$1@excalibur.flash.net>
NNTP-Posting-Host: epasc1-67.flash.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I am realitivly new to C/C++ and have a few questions. I am hoping someone
can give me some guidance. This is a simplified version of what I am trying
to do but hopefully it will get the point across. What I would like to do
is take argv[1], and argv[2] and preform math operations on them. This
brings up a problem because I am using "char *argv" How would I go about
changing these to an int? If anyone would be willing to help me could you
email me at the address below. 

--
Ryan Crumley
iii AT binary DOT net



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019