🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2052

Re: "1234" ==> 1234 (char * ==> int)

#2052
From: Alton Harkcom
Date: Thu, 13 Dec 1990 17:46
11 lines
1077 bytes
In article <1990Dec12.215359.5378@cs.utk.edu> lape@.cs.utk.edu
   (Bryon S. Lape) writes:

 =}	   I need to know how to convert a string of numbers into an int.
 =}For example, "1234" ==> 1234.  I am interested in all theories, so please
 =}send whatever you know or think.  Also, please e-mail the responses.

   If you don't have atoi, you can look at page 97 of K&R (2nd ed. ANSI C).
--
-- harkcom@pa.yokogawa.co.jp
	Yokogawa Electric Corporation, Tokyo, Japan
Technical Details
Message-ID: <HARKCOM.90Dec13124648@potato.pa.Yokogawa.Co.jp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!ccut!wnoc-tyo-news!dclsic!sjc!spider!leia!harkcom
References: <1990Dec12.215359.5378@cs.utk.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!ccut!wnoc-tyo-news!dclsic!sjc!spider!leia!harkcom
From: harkcom@potato.pa.Yokogawa.Co.jp (Alton Harkcom)
Newsgroups: comp.std.c,comp.lang.c
Subject: Re: "1234" ==> 1234 (char * ==> int)
Message-ID: <HARKCOM.90Dec13124648@potato.pa.Yokogawa.Co.jp>
Date: 13 Dec 90 17:46:48 GMT
References: <1990Dec12.215359.5378@cs.utk.edu>
Sender: news@leia.pa.yokogawa.co.jp
Followup-To: comp.std.c
Organization: Yokogawa Electric Corporation, Tokyo, Japan.
Lines: 11
In-reply-to: lape@.cs.utk.edu's message of 12 Dec 90 21:53:59 GMT