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

Al Dunbar userAKDU at mts.ucs.UAlberta.CA
Mon Dec 17 05:29:05 AEST 1990


In article <5372 at rossignol.Princeton.EDU>, nfs at hart.Princeton.EDU (Norbert Schlenker) writes:
>In article <1990Dec12.215359.5378 at cs.utk.edu> lape at .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
 
<<<many highly useful examples deleted to save space>>>
 
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
-------------------+-------------------------------------------



More information about the Comp.lang.c mailing list