Update Ex1 of C-Structures
This commit is contained in:
@@ -1,22 +0,0 @@
|
|||||||
/* ************************************************************************** */
|
|
||||||
/* */
|
|
||||||
/* ::: :::::::: */
|
|
||||||
/* ft_stock_str.h :+: :+: :+: */
|
|
||||||
/* +:+ +:+ +:+ */
|
|
||||||
/* By: lclerel- <lclerel-@learner.42.tech> +#+ +:+ +#+ */
|
|
||||||
/* +#+#+#+#+#+ +#+ */
|
|
||||||
/* Created: 2026/03/26 02:05:19 by lclerel- #+# #+# */
|
|
||||||
/* Updated: 2026/03/26 02:06:44 by lclerel- ### ########.fr */
|
|
||||||
/* */
|
|
||||||
/* ************************************************************************** */
|
|
||||||
|
|
||||||
#ifndef F_STOCK_STR_H
|
|
||||||
#define F_STOCK_STR_H
|
|
||||||
|
|
||||||
typedef struct s_stock_str
|
|
||||||
{
|
|
||||||
int size;
|
|
||||||
char *str;
|
|
||||||
char *copy;
|
|
||||||
} t_stock_str;
|
|
||||||
#endif
|
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
/* By: lclerel- <lclerel-@student.42.fr> +#+ +:+ +#+ */
|
/* By: lclerel- <lclerel-@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2026/03/25 22:54:18 by lclerel- #+# #+# */
|
/* Created: 2026/03/25 22:54:18 by lclerel- #+# #+# */
|
||||||
/* Updated: 2026/03/26 02:07:14 by lclerel- ### ########.fr */
|
/* Updated: 2026/03/26 02:36:29 by lclerel- ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@@ -74,7 +74,7 @@ int ft_strlen(char *str)
|
|||||||
}
|
}
|
||||||
return (i);
|
return (i);
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
void ft_putstr(char *str)
|
void ft_putstr(char *str)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
@@ -176,4 +176,4 @@ int main(int argc, char **argv)
|
|||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}*/
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user