Comment all Main (It's for debug only)

This commit is contained in:
lclerel- lclerel-
2026-03-05 19:10:32 +01:00
parent 5a0e7fb0dd
commit 73c0d1c7a8
3 changed files with 22 additions and 9 deletions

View File

@@ -6,7 +6,7 @@
/* By: lclerel- <lclerel-@learner.42.tech> +#+ +:+ +#+ */ /* By: lclerel- <lclerel-@learner.42.tech> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2026/03/05 13:17:20 by lclerel- #+# #+# */ /* Created: 2026/03/05 13:17:20 by lclerel- #+# #+# */
/* Updated: 2026/03/05 13:37:09 by lclerel- ### ########.fr */ /* Updated: 2026/03/05 19:10:09 by lclerel- ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@@ -34,8 +34,8 @@ void ft_putnbr(int nb)
write(1, &value, 1); write(1, &value, 1);
} }
int main(void) /*int main(void)
{ {
ft_putnbr(42); ft_putnbr(42);
return (0); return (0);
} }*/

View File

@@ -6,7 +6,7 @@
/* By: lclerel- <lclerel-@learner.42.tech> +#+ +:+ +#+ */ /* By: lclerel- <lclerel-@learner.42.tech> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2026/03/05 13:45:48 by lclerel- #+# #+# */ /* Created: 2026/03/05 13:45:48 by lclerel- #+# #+# */
/* Updated: 2026/03/05 16:49:26 by lclerel- ### ########.fr */ /* Updated: 2026/03/05 19:09:34 by lclerel- ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@@ -43,8 +43,8 @@ void ft_print_comb2(void)
} }
} }
int main(void) /*int main(void)
{ {
ft_print_comb2(); ft_print_comb2();
return (0); return (0);
} }*/

View File

@@ -1,12 +1,12 @@
/* ************************************************************************** */ /* ************************************************************************** */
/* */ /* */
/* ::: :::::::: */ /* ::: :::::::: */
/* ft_combn.c :+: :+: :+: */ /* ft_print_combn.c :+: :+: :+: */
/* +:+ +:+ +:+ */ /* +:+ +:+ +:+ */
/* By: lclerel- <lclerel-@learner.42.tech> +#+ +:+ +#+ */ /* By: lclerel- <lclerel-@learner.42.tech> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2026/03/05 18:03:23 by lclerel- #+# #+# */ /* Created: 2026/03/05 19:08:08 by lclerel- #+# #+# */
/* Updated: 2026/03/05 18:57:19 by lclerel- ### ########.fr */ /* Updated: 2026/03/05 19:08:53 by lclerel- ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@@ -57,3 +57,16 @@ void ft_print_combn(int n)
ft_recursive(tab, n, 0, 0); ft_recursive(tab, n, 0, 0);
} }
} }
/*int main(void)
{
write(1, "Test n = 2 :\n", 13);
ft_print_combn(2);
write(1, "\n\n", 2);
write(1, "Test n = 3 :\n", 13);
ft_print_combn(3);
write(1, "\n\n", 2);
write(1, "Test n = 9 :\n", 13);
ft_print_combn(9);
write(1, "\n\n", 2);
}*/