Browse Source

adieu piscine aout 2020

master
Alexis LUCAS 6 months ago
parent
commit
81f9678baf
5 changed files with 25 additions and 1 deletions
  1. +1
    -0
      Piscine 2020/C/C Piscine C 00/.gitignore
  2. +1
    -1
      Piscine 2020/Shell/C Piscine Shell 01
  3. +22
    -0
      Piscine 2020/Test/exam/aff_last_param.c
  4. +1
    -0
      Piscine 2020/Test/exam/ft_union.c
  5. +0
    -0
      Piscine 2020/a_faire.md

+ 1
- 0
Piscine 2020/C/C Piscine C 00/.gitignore View File

@ -0,0 +1 @@
.DS_STORE

+ 1
- 1
Piscine 2020/Shell/C Piscine Shell 01

@ -1 +1 @@
Subproject commit 9048b76514d5095be73a6c2ef18015f68038823b
Subproject commit 8b0c51589a3eb0c9c856c87118f83455615e5867

+ 22
- 0
Piscine 2020/Test/exam/aff_last_param.c View File

@ -0,0 +1,22 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* aff_last_param.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: alucas <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/08/27 10:18:23 by alucas #+# #+# */
/* Updated: 2020/08/27 10:29:02 by alucas ### ########.fr */
/* */
/* ************************************************************************** */
#include <unistd.h>
int main(int argc, char **argv)
{
if (argc > 1)
while (*argv[argc - 1])
write(1, argv[argc - 1]++, 1);
write(1, "\n", 1);
return (0);
}

+ 1
- 0
Piscine 2020/Test/exam/ft_union.c View File

@ -0,0 +1 @@
6

+ 0
- 0
Piscine 2020/a_faire.md View File


Loading…
Cancel
Save