| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | switch statement |
NH> atoi() IS standard and is included in stdlib. NH> atoi is NOT standard and could be anything. NH> atoi() is equivalent to: (int)strtol(s, (char ***)NULL, 10) NH> atoi() can easily be replaced by the usage of sprintf() [...] 2s/atoi/itoa/ 4s/atoi/itoa/ The statement in line 3 is not completely true (Consider what is defined to happen to "errno".). The statement in (the corrected) line 4 is not completely true (Consider the use of itoa() to generate base 36 strings.). ¯ JdeBP ® --- FleetStreet 1.22 NR* Origin: JdeBP's point, using Squish (2:257/609.3) SEEN-BY: 633/267 270 @PATH: 257/609 255/90 140/1 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.