Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ v10.0 : C library - <b>synopsis:</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Synopsis:
    #include <stdlib.h>
    int atoi( const char *ptr );

Description:
    The atoi function converts the string pointed to by ptr to int
    representation.

Returns:
    The atoi function returns the converted value.

See Also:
    sscanf, strtol

Example:
    #include <stdlib.h>

    void main()
      {
        int x;

        x = atoi( "-289" );
      }

Classification:
    ANSI

Systems:
    All

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson