From 8172a7f70e35942cf102fb07963687d9ddace818 Mon Sep 17 00:00:00 2001 From: Charles Date: Sat, 27 Jul 2019 08:35:04 +0200 Subject: adding bsq generator, remove rush01 6x6 try --- rush01_6x6_try/ex00/main.c | 56 ---------------------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 rush01_6x6_try/ex00/main.c (limited to 'rush01_6x6_try/ex00/main.c') diff --git a/rush01_6x6_try/ex00/main.c b/rush01_6x6_try/ex00/main.c deleted file mode 100644 index 4e4c239..0000000 --- a/rush01_6x6_try/ex00/main.c +++ /dev/null @@ -1,56 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* main.c :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: cacharle +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2019/07/13 11:30:35 by cacharle #+# #+# */ -/* Updated: 2019/07/14 10:24:10 by cacharle ### ########.fr */ -/* */ -/* ************************************************************************** */ - -#include -#include "include.h" - -#include -#include -int main(int argc, char ** argv) -{ - t_views views; - t_board board; - - if (argc != 2) - { - write(1, "Error\n", 6); - return (0); - } - /*int tb[4][4] = {*/ - /*{1, 2, 3, 4},*/ - /*{2, 3, 4, 1},*/ - /*{3, 4, 1, 2},*/ - /*{4, 1, 2, 3}*/ - /*};*/ - views = parse_arg(argv[1]); - /*print_square(views);*/ - board = init_square(4); - /*memcpy(board[0], tb[0], sizeof(int) * 4);*/ - /*memcpy(board[1], tb[1], sizeof(int) * 4);*/ - /*memcpy(board[2], tb[2], sizeof(int) * 4);*/ - /*memcpy(board[3], tb[3], sizeof(int) * 4);*/ - /*print_square(board);*/ - /*printf("check views %d\n", check_viewpoints(board, views));*/ - /*print_square(board);*/ - /*printf("%d\n", get_with_view(board, col_down, 0, 2));*/ - /*ft_putchar('\n');*/ - solve(board, views); - /*ft_putchar('\n');*/ - /*board = init_square(4);*/ - /*board[0][0] = 2;*/ - /*ft_putchar('\n');*/ - /*print_square(board);*/ - /*solve(board);*/ - /*ft_putchar('\n');*/ - /*print_square(board);*/ - return (0); -} -- cgit