From 79e6c8152252bac1cd632e224ac496a1823da1a5 Mon Sep 17 00:00:00 2001 From: Cabergs Charles Date: Wed, 24 Jul 2019 18:46:39 +0200 Subject: bsq and c13 passed --- bsq/srcs/parse.c | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 bsq/srcs/parse.c (limited to 'bsq/srcs/parse.c') diff --git a/bsq/srcs/parse.c b/bsq/srcs/parse.c deleted file mode 100644 index 8c4af3a..0000000 --- a/bsq/srcs/parse.c +++ /dev/null @@ -1,42 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* parse.c :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: cacharle +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2019/07/19 15:23:43 by cacharle #+# #+# */ -/* Updated: 2019/07/19 15:55:31 by cacharle ### ########.fr */ -/* */ -/* ************************************************************************** */ - -#include "include.h" - -t_bool check_input(char *input) -{ - char *line; - int i; - - i = 0; - while (input[i] != '\n') - i++; - if (i < 4) - return (FALSE); - parsed.fill = input[i--]; - parsed.obstacle = input[i--]; - parsed.empty = input[i--]; - // parsed.size = // atoi smth - while (*input != '\n') - input++; - i = 0; - while (input[i]) - { - while (input[i] != '\n') - { - - } - if (i != parsed.size - - - } -} -- cgit