aboutsummaryrefslogtreecommitdiff
path: root/rush01_6x6_try/ex00/helper.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-07-27 08:35:04 +0200
committerCharles <sircharlesaze@gmail.com>2019-07-27 08:35:04 +0200
commitf365ae69ad3923b5c565293d34c636d20991bd56 (patch)
treee6cd8039208c1da94e2e10a361cc65406a021195 /rush01_6x6_try/ex00/helper.c
parente9170faaa55d0de82800751d063e3b05202ef808 (diff)
downloadpiscine-raw.tar.gz
piscine-raw.tar.bz2
piscine-raw.zip
adding bsq generator, remove rush01 6x6 tryraw
Diffstat (limited to 'rush01_6x6_try/ex00/helper.c')
-rw-r--r--rush01_6x6_try/ex00/helper.c46
1 files changed, 0 insertions, 46 deletions
diff --git a/rush01_6x6_try/ex00/helper.c b/rush01_6x6_try/ex00/helper.c
deleted file mode 100644
index eb391ea..0000000
--- a/rush01_6x6_try/ex00/helper.c
+++ /dev/null
@@ -1,46 +0,0 @@
-/* ************************************************************************** */
-/* */
-/* ::: :::::::: */
-/* helper.c :+: :+: :+: */
-/* +:+ +:+ +:+ */
-/* By: cacharle <charles.cabergs@gmail.com> +#+ +:+ +#+ */
-/* +#+#+#+#+#+ +#+ */
-/* Created: 2019/07/13 12:52:42 by cacharle #+# #+# */
-/* Updated: 2019/07/14 10:36:19 by cacharle ### ########.fr */
-/* */
-/* ************************************************************************** */
-
-#include <unistd.h>
-
-void ft_putchar(char c)
-{
- write(1, &c, 1);
-}
-
-void ft_putnbr(int nb)
-{
- unsigned int p_nb;
-
- p_nb = nb;
- if (nb < 0)
- {
- write(1, "-", 1);
- p_nb = -nb;
- }
- if (p_nb > 9)
- ft_putnbr(p_nb / 10);
- ft_putchar(p_nb % 10 + '0');
-}
-
-int strlen_ignore_space(char *str)
-{
- int counter;
-
- counter = 0;
- while (*str)
- {
- if (*str != ' ')
- counter++;
- str++;
- }
-}