Atoi(): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{DISPLAYTITLE:atoi()}} | ||
This function, its name short for "'''a'''scii '''to''' '''i'''nteger," parses a string argument into its [[integer]] representation. | |||
This function, | |||
== Usage == | |||
int myInt = atoi( "42" ); | |||
[[Category:Helpers]] | [[Category:Helpers]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
Latest revision as of 01:15, 30 November 2011
This function, its name short for "ascii to integer," parses a string argument into its integer representation.
Usage
int myInt = atoi( "42" );