29 lines
1.1 KiB
C
29 lines
1.1 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* 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);
|
|
}
|