0
0
This commit is contained in:
Guy Baconniere
2021-08-25 18:29:24 +02:00
parent dac092452e
commit aaa10155a5
6 changed files with 42 additions and 95 deletions

View File

@@ -10,23 +10,16 @@
/* */
/* ************************************************************************** */
#include <stdio.h>
#include "ft_stock_str.h"
struct s_stock_str *ft_strs_to_tab(int ac, char **av);
int main(int argc, char **argv)
int main(void)
{
t_stock_str *result;
int i;
char **av;
int ac;
(void) result;
result = ft_strs_to_tab(argc, argv);
i = 0;
while (result[i].size > 0)
{
printf("result[%d] = { size=%d, str=%s, copy=%s\n}", i, result[i].size, result[i].str, result[i].copy);
i++;
}
result = ft_strs_to_tab(ac, av)
return (0);
}