mirror of
https://github.com/DavidGailleton/42-Push_Swap.git
synced 2026-01-27 00:41:57 +00:00
finish the bonus just need to verify some files i guess
This commit is contained in:
@@ -19,5 +19,6 @@ int verif_is_digit(char **tab, int mod);
|
||||
int verif_overflow(char **tab, int mod);
|
||||
int verif_double(char **tab, int mod);
|
||||
int scan_str_is_digit(char *tab);
|
||||
int check_error_bonus(char **tab);
|
||||
|
||||
#endif
|
||||
|
||||
30
includes/get_next_line.h
Normal file
30
includes/get_next_line.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* get_next_line.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: dgaillet <dgaillet@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/11/21 17:22:03 by dgaillet #+# #+# */
|
||||
/* Updated: 2025/11/27 18:05:13 by dgaillet ### ########lyon.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef GET_NEXT_LINE_H
|
||||
# define GET_NEXT_LINE_H
|
||||
|
||||
# ifndef BUFFER_SIZE
|
||||
# define BUFFER_SIZE 42
|
||||
# endif
|
||||
|
||||
# include <stdlib.h>
|
||||
|
||||
char *get_next_line(int fd);
|
||||
|
||||
size_t ft_strlen_1(const char *s);
|
||||
char *ft_strjoin_new(char const *s1, char const *s2, size_t limit);
|
||||
void ft_bzero(void *s, size_t n);
|
||||
int index_of_nl(char *str, int limit);
|
||||
char *ft_substr_gnl(char const *s, unsigned int start, size_t len);
|
||||
|
||||
#endif
|
||||
@@ -26,6 +26,7 @@ typedef struct s_stacks
|
||||
t_stack *b;
|
||||
int algo;
|
||||
int bench;
|
||||
int print;
|
||||
float disorder;
|
||||
unsigned int ra;
|
||||
unsigned int rb;
|
||||
|
||||
Reference in New Issue
Block a user