Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Ada
I : Integer := Integer'Value (s);
#include <stdlib.h>
i = (int)strtol(s, (char **)NULL, 10);

The atoi() function has been deprecated by strtol()

New implementation...