C

@cstuny

Rusch01 ft_check_av_entree

C
1 year ago
int ft_check_av_entree(char **av) { int i; i = 0; while (av[1][i] != '\0') { if (av[1][i] >= '1' && av[1][i] <= '4' && (i % 2 == 0)) { i++;

ft_check_doublons_ligne_colonne_sortie.c

C
1 year ago
int ft_check_doublons_ligne_colonne_sortie(int **tab_sortie, int etage, int x, int y) { int i; i = 0; while (i < 4) // controle ligne { if (tab_sortie[y][i] == etage) { return (0);

Rush01 version git hub manque les parametre d entree

C
1 year ago
#include <stdlib.h> #include <unistd.h> // ici debut check parameter void ft_rush_main(int tab_config[4][4]); int ft_strlen(char *str) {

Oecano n Queen Version simple

C
1 year ago
#include <unistd.h> #define N 8 uint32_t possible_configurations = 0; bool isSafe(cahr **board, size_t n, uint8_t row, uint8_t col) { for (unit8_t r = 0; r < row; ++r) if (board[r][col] == 'Q') {

Oecano n Queen

C
1 year ago
#include <unistd.h> #define N 8 uint32_t possible_configurations = 0; bool isSafe(cahr **board, size_t n, uint8_t row, uint8_t col) { for (unit8_t r = 0; r < row; ++r) if (board[r][col] == 'Q') {

C02 ex05 ft putstr

C
1 year ago
#include <unistd.h> void ft_putstr(char *str) { while (*str != '\0') { write(1, str, 1); str++; } }

C01 ex05 int ft_strlen(char *str) vertion s

C
1 year ago
#include <unistd.h> void ft_putstr(char *str) { int i; i = 0; while (str[i] != '\0') { write(1, str, 1);

co2 swap

C
1 year ago
#include <stdio.h> void ft_swap(int *a, int *b) { int c; c = *a; *a = *b; *b = c; }

rev_print.c

C
1 year ago
#include <unistd.h> void ft_putchar(char c) { write(1, &c, 1); } int ft_strlen(char *s) {

ft_strcpy.c

C
1 year ago
#include <unistd.h> char *ft_strcpy(char *s1, char *s2) { int i = 0; while (s2[i] != '\0') { s1[i] = s2 [i]; i++;

ft_putstr.c

C
1 year ago
#include <unistd.h> void ft_putstr(char *str) { while (*str) write(1, str++, 1); }

grademe maff a

C
1 year ago
#include <unistd.h> int main() { write(1,"aBcDeFgHiJkLmNoPqRsTuVwXyZ\n", 27); return (0); }

grademe only_a.c

C
1 year ago
#include <unistd.h> int main(void) { write(1, "a/n", 1); }

hello world en char avec 13

C
1 year ago
#include <unistd.h> int main() { write(1,"Hello World!\n", 13); return 0; }

Printf tout les cas de figure

C
1 year ago
#include <stdio.h> #include <stdio.h> int main() { // Déclaration des variables char c = 'A'; int n = 42; char str[] = "Bonjour, monde!"; int asciiValue = 65; // Code ASCII du caractère 'A'

rev C00 Exercice 05 : ft_print_comb afficher 3 caractere suite 012, 013, ... 019, 023, ...,789 v2

C
1 year ago
#include <unistd.h> void ft_print_comb(void) { char a; char b; char c; a = '0';

rev c00 Exercise 04 : ft_is_negative N si negatif P si 0 ou positif

C
1 year ago
#include <unistd.h> void ft_is_negative(int n) { if (n < 0) { write(1, "N", 1); } if (n >=0) {

rev c00 Exercice 03 : ft_print_numbers tous les numero dans l odre 123456789

C
1 year ago
#include <unistd.h> void ft_print_numbers(void) { char c; c = '0'; while(c <= '9') { write(1, &c,1);

rev c00 Exercice 02 : ft_print_reverse_alphabet

C
1 year ago
#include <unistd.h> void ft_print_reverse_alphabet(void) { char c; c = 'z'; while(c >= 'a') { write(1, &c, 1);

rev c00 00 ft_ptuchar avec le main Z et write version 3

C
1 year ago
#include <unistd.h> int main(void) { char c; write(1, "Z",1); return (0); }