home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c:16807 comp.lang.c++:16578
- Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!wirzeniu
- From: wirzeniu@klaava.Helsinki.FI (Lars Wirzenius)
- Newsgroups: comp.lang.c,comp.lang.c++
- Subject: Re: Converting an int or a float into a string*???
- Message-ID: <1992Nov19.182808.9331@klaava.Helsinki.FI>
- Date: 19 Nov 92 18:28:08 GMT
- References: <1992Nov13.135058.5330@magnus.acs.ohio-state.edu> <mT1cuB12w165w@rhps.chi.il.us>
- Organization: University of Helsinki
- Lines: 10
-
- warlok@rhps.chi.il.us (Jon L Fincher) writes:
- >You could try to standard C function fcvt(), which tranlates a float to
- >a string.
-
- fcvt is not standard, especially not the ANSI/ISO standard. Just use
- sprintf. (FAQ, 12.3)
-
- --
- Lars.Wirzenius@helsinki.fi (finger wirzeniu@klaava.helsinki.fi)
- MS-DOS, you can't live with it, you can live without it.
-