/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: apago +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/04/04 21:50:50 by tischmid #+# #+# */ /* Updated: 2023/04/05 17:14:36 by apago ### ########.fr */ /* */ /* ************************************************************************** */ #include "ft_string.h" #include "printing.h" #include "solution.h" #include int main(void) { t_map map; if (!read_fname("./assets/subject.map", &map)) return (ft_err("map error\n", 1)); solve(&map); print_map(&map, 0); free(map.data); free(map.copy); return (0); }