diff options
| author | Cabergs Charles <cacharle@e-r6-p7.s19.be> | 2019-07-24 18:46:39 +0200 |
|---|---|---|
| committer | Cabergs Charles <cacharle@e-r6-p7.s19.be> | 2019-07-24 18:46:58 +0200 |
| commit | 79e6c8152252bac1cd632e224ac496a1823da1a5 (patch) | |
| tree | 1e69b9330430438fa499f94e864dcfb4d83ea007 /bsq/srcs/parse.c | |
| parent | e7acdc820fefa41ae00a7c776388e3d17250a2e9 (diff) | |
| download | piscine-79e6c8152252bac1cd632e224ac496a1823da1a5.tar.gz piscine-79e6c8152252bac1cd632e224ac496a1823da1a5.tar.bz2 piscine-79e6c8152252bac1cd632e224ac496a1823da1a5.zip | |
bsq and c13 passed
Diffstat (limited to 'bsq/srcs/parse.c')
| -rw-r--r-- | bsq/srcs/parse.c | 42 |
1 files changed, 0 insertions, 42 deletions
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 <charles.cabergs@gmail.com> +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* 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 - - - } -} |
