🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2060

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

#2060
From: Robert Lupton (the Good)
Date: Thu, 13 Dec 1990 15:10
13 lines
1019 bytes
This is one of those questions that any experienced C programmer can answer
before starting to think about it: atoi()or atol(). It is also an obvious
RTFM question, and is discussed in some depth in K&R. Please, in cases
like this DON'T post the answer -- email it if you must reply. 

Some of the posted answers were not really correct, but this doesn't 
invalidate my point, merely adds another: Please don't post answers if
you aren't pretty much of an expert yourself.


				Robert
				
Technical Details
Message-ID: <4712@idunno.Princeton.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!wuarchive!udel!princeton!grendel!rhl
References: <1990Dec12.215359.5378@cs.utk.edu> <49268@seismo.CSS.GOV>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!wuarchive!udel!princeton!grendel!rhl
From: rhl@grendel.Princeton.EDU (Robert Lupton (the Good))
Newsgroups: comp.std.c
Subject: Re: "1234" ==> 1234 (char * ==> int): Inappropriate Postings
Summary: To Post or Not to Post
Message-ID: <4712@idunno.Princeton.EDU>
Date: 13 Dec 90 15:10:36 GMT
References: <1990Dec12.215359.5378@cs.utk.edu> <49268@seismo.CSS.GOV>
Sender: news@idunno.Princeton.EDU
Organization: Princeton University, Princeton, New Jersey
Lines: 13