Newsgroups: comp.lang.c Path: utzoo!henry From: henry@zoo.toronto.edu (Henry Spencer) Subject: Re: integer to string function (itoa()) Message-ID: <1990Jul1.003122.4944@zoo.toronto.edu> Organization: U of Toronto Zoology References: <22888@boulder.Colorado.EDU> <153@travis.csd.harris.com> <1990Jun30.071229.23965@agate.berkeley.edu> Date: Sun, 1 Jul 90 00:31:22 GMT In article <1990Jun30.071229.23965@agate.berkeley.edu> dankg@monsoon.Berkeley.EDU (Dan KoGai) writes: > Maybe. But I was wondering why there's no itoa() in most C libraries: >atoi() exists and often used in scanf(). Why do we let [sf]printf() do >all conversion instead of calling itoa... Such things existed once. They fell pretty much out of use once sprintf and friends became available, since there wasn't a spectacular difference in efficiency and the more general tool was easier to remember (because it got so much more use). -- "Either NFS must be scrapped or NFS | Henry Spencer at U of Toronto Zoology must be changed." -John K. Ousterhout | henry@zoo.toronto.edu utzoo!henry