Index:
[thread]
[date]
[subject]
[author]
From: Huned M. Botee <huned.botee@duke.edu>
To :
Date: Mon, 01 Feb 1999 03:54:59 +0000
Re: AtoI
Janel Levon Baskerville wrote:
> char g = '1';
> int f = atoi(g);
Remember, that whenever you have problems that may arise from
questionable use of functions (such as the above code fragment), you can
consult the man pages on acpub to just double check before you end up
pulling out your hair.
for the above, if we typed in "man atoi" at the prompt, we'd see, among
other things, the following line:
>int atoi(const char *str);
which lets us know the correct function prototype for atoi.
Keep on truckin', folks.
--huned
--
Huned M. Botee
huned.botee@duke.edu
Index:
[thread]
[date]
[subject]
[author]