Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!alberta!mts.ucs.UAlberta.CA!Al_Dunbar From: userAKDU@mts.ucs.UAlberta.CA (Al Dunbar) Newsgroups: comp.lang.c Subject: Re: "1234" ==> 1234 (char * ==> int) Message-ID: <2015@mts.ucs.UAlberta.CA> Date: 16 Dec 90 18:29:05 GMT References: <1990Dec12.215359.5378@cs.utk.edu> <5372@rossignol.Princeton.EDU> Organization: MTS Univ of Alberta Lines: 20 In article <5372@rossignol.Princeton.EDU>, nfs@hart.Princeton.EDU (Norbert Schlenker) writes: >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. > >Here's a theory of conversion a couple of us thought up while playing >bridge the other night. Take the outputs from your system standard <<>> Come on, Norbert, Bryon asked us to "please send whatever you know or think". I am quite sure you are holding back something. Surely you know and think somewhat more than you volunteered. -------------------+------------------------------------------- Al Dunbar | Edmonton, Alberta | "this mind left intentionally blank" CANADA | - Manuel Writer -------------------+-------------------------------------------