Programming-Idioms

History of Idiom 22 > diff from v8 to v9

Edit summary for version 9 :

Version 8

2015-08-19, 14:44:57

Version 9

2015-08-20, 09:51:18

Idiom #22 Convert string to integer

Extract integer value i from its string representation s (in radix 10)

Idiom #22 Convert string to integer

Extract integer value i from its string representation s (in radix 10)

Imports
#include <stdlib.h>
Code
int i=atoi(s);