atoi_print.c
author Markus Bröker <mbroeker@largo.dyndns.tv>
Tue, 09 Mar 2010 12:58:27 +0100
changeset 122 50ba3b0e271a
parent 77 49e0babccb23
permissions -rw-r--r--
GNU Make and GNU Indent The Makefile depends on GNU tools and the user may choose the location committer: Markus Bröker <mbroeker@largo.homelinux.org>

/**
 * atoi_print.c
 * Copyright (C) 2008 Markus Broeker
 */

#include <stdio.h>
#include <stdlib.h>

int main (int argc, char **argv)
{
    unsigned int i;

    for (i = 1; i < argc; i++)
        printf ("atoi(%s):=%d\n", argv[i], atoi (argv[i]));

    return EXIT_SUCCESS;
}