import all offfshore mains
This commit is contained in:
parent
f20960f941
commit
deb1cbd5bd
BIN
.c00_ex08.c.swp
Normal file
BIN
.c00_ex08.c.swp
Normal file
Binary file not shown.
18
c00_ex00.c
Normal file
18
c00_ex00.c
Normal file
@ -0,0 +1,18 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* c00_ex00.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: achubuko <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/11/18 19:43:15 by achubuko #+# #+# */
|
||||
/* Updated: 2023/11/18 19:52:46 by achubuko ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
void ft_putchar(char c);
|
||||
|
||||
int main()
|
||||
{
|
||||
ft_putchar('0');
|
||||
}
|
18
c00_ex01.c
Normal file
18
c00_ex01.c
Normal file
@ -0,0 +1,18 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* c00_ex01.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: achubuko <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/11/18 20:31:16 by achubuko #+# #+# */
|
||||
/* Updated: 2023/11/18 20:46:04 by achubuko ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
void ft_print_alphabet(void);
|
||||
|
||||
int main(void)
|
||||
{
|
||||
ft_print_alphabet();
|
||||
return 0;
|
||||
}
|
18
c00_ex02.c
Normal file
18
c00_ex02.c
Normal file
@ -0,0 +1,18 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* c00_ex01.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: achubuko <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/11/18 20:31:16 by achubuko #+# #+# */
|
||||
/* Updated: 2023/11/18 22:07:50 by achubuko ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
void ft_print_reverse_alphabet(void);
|
||||
|
||||
int main(void)
|
||||
{
|
||||
ft_print_reverse_alphabet();
|
||||
return 0;
|
||||
}
|
18
c00_ex03.c
Normal file
18
c00_ex03.c
Normal file
@ -0,0 +1,18 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* c00_ex01.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: achubuko <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/11/18 20:31:16 by achubuko #+# #+# */
|
||||
/* Updated: 2023/11/18 22:24:47 by achubuko ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
void ft_print_numbers(void);
|
||||
|
||||
int main(void)
|
||||
{
|
||||
ft_print_numbers();
|
||||
return 0;
|
||||
}
|
20
c00_ex04.c
Normal file
20
c00_ex04.c
Normal file
@ -0,0 +1,20 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* c00_ex01.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: achubuko <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/11/18 20:31:16 by achubuko #+# #+# */
|
||||
/* Updated: 2023/11/18 22:37:36 by achubuko ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
void ft_is_negative(int);
|
||||
|
||||
int main(void)
|
||||
{
|
||||
ft_is_negative(1);
|
||||
ft_is_negative(-1);
|
||||
ft_is_negative(0);
|
||||
return 0;
|
||||
}
|
7
c00_ex05.c
Normal file
7
c00_ex05.c
Normal file
@ -0,0 +1,7 @@
|
||||
void ft_print_comb(void);
|
||||
|
||||
int main(void)
|
||||
{
|
||||
ft_print_comb();
|
||||
return 0;
|
||||
}
|
5
c00_ex06.c
Normal file
5
c00_ex06.c
Normal file
@ -0,0 +1,5 @@
|
||||
void ft_print_comb2(void);
|
||||
int main(void)
|
||||
{
|
||||
ft_print_comb2();
|
||||
}
|
25
c00_ex07.c
Normal file
25
c00_ex07.c
Normal file
@ -0,0 +1,25 @@
|
||||
void ft_putnbr(int);
|
||||
void ft_putchar(char);
|
||||
int main(void)
|
||||
{
|
||||
ft_putnbr(0xEFFFFFFF);
|
||||
ft_putchar('\n');
|
||||
ft_putnbr(-7141);
|
||||
ft_putchar('\n');
|
||||
ft_putnbr(-1);
|
||||
ft_putchar('\n');
|
||||
ft_putnbr(0);
|
||||
ft_putchar('\n');
|
||||
ft_putnbr(42);
|
||||
ft_putchar('\n');
|
||||
ft_putnbr(421);
|
||||
ft_putchar('\n');
|
||||
ft_putnbr(1945);
|
||||
ft_putchar('\n');
|
||||
ft_putnbr(0xDEAD);
|
||||
ft_putchar('\n');
|
||||
ft_putnbr(0xBADF00D);
|
||||
ft_putchar('\n');
|
||||
ft_putnbr(0x7FFFFFFF);
|
||||
ft_putchar('\n');
|
||||
}
|
22
c00_ex08.c
Normal file
22
c00_ex08.c
Normal file
@ -0,0 +1,22 @@
|
||||
void ft_print_combn(int n);
|
||||
void ft_putchar(char);
|
||||
int main(void)
|
||||
{
|
||||
ft_print_combn(1);
|
||||
ft_putchar('%'); ft_putchar('\n');
|
||||
ft_print_combn(2);
|
||||
ft_putchar('%'); ft_putchar('\n');
|
||||
ft_print_combn(3);
|
||||
ft_putchar('%'); ft_putchar('\n');
|
||||
ft_print_combn(4);
|
||||
ft_putchar('%'); ft_putchar('\n');
|
||||
ft_print_combn(5);
|
||||
ft_putchar('%'); ft_putchar('\n');
|
||||
ft_print_combn(6);
|
||||
ft_putchar('%'); ft_putchar('\n');
|
||||
ft_print_combn(9);
|
||||
ft_putchar('%'); ft_putchar('\n');
|
||||
ft_print_combn(10);
|
||||
ft_putchar('%'); ft_putchar('\n');
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user