sync
This commit is contained in:
BIN
C_09/c-09.tar
BIN
C_09/c-09.tar
Binary file not shown.
@@ -6,7 +6,7 @@
|
|||||||
/* By: gbaconni <gbaconni@42lausanne.ch> +#+ +:+ +#+ */
|
/* By: gbaconni <gbaconni@42lausanne.ch> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2021/08/18 10:50:59 by gbaconni #+# #+# */
|
/* Created: 2021/08/18 10:50:59 by gbaconni #+# #+# */
|
||||||
/* Updated: 2021/08/26 11:45:37 by gbaconni ### ########.fr */
|
/* Updated: 2021/08/26 13:24:04 by gbaconni ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@ int main(int argc, char *argv[])
|
|||||||
strs = ft_split(str, charset);
|
strs = ft_split(str, charset);
|
||||||
printf("str=%s charset=%s (ft_split)\n", str, charset);
|
printf("str=%s charset=%s (ft_split)\n", str, charset);
|
||||||
i = 0;
|
i = 0;
|
||||||
while (strs[i])
|
while (strs && strs[i])
|
||||||
{
|
{
|
||||||
printf("strs[%d] = %s\n", i, strs[i]);
|
printf("strs[%d] = %s\n", i, strs[i]);
|
||||||
i++;
|
i++;
|
||||||
|
|||||||
Reference in New Issue
Block a user