42/rushes/rush00/ex00/main.c

30 lines
1.1 KiB
C
Raw Permalink Normal View History

2016-11-20 02:20:23 +02:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: gtertysh <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/10/30 11:13:33 by gtertysh #+# #+# */
/* Updated: 2016/11/12 15:05:20 by gtertysh ### ########.fr */
/* */
/* ************************************************************************** */
#include <stdio.h>
int ft_putchar(char c);
int ft_atoi(char *str);
void rush(int x, int y);
int main(int argc, char **argv)
{
int x;
int y;
if (argc != 3)
return (0);
x = ft_atoi(argv[1]);
y = ft_atoi(argv[2]);
rush(x, y);
return (0);
}