init
This commit is contained in:
6
Test/c09/ex05/ft_stock_str.h
Normal file
6
Test/c09/ex05/ft_stock_str.h
Normal file
@ -0,0 +1,6 @@
|
||||
typedef struct s_stock_str
|
||||
{
|
||||
int size;
|
||||
char *str;
|
||||
char *copy;
|
||||
} t_stock_str;
|
12
Test/c09/ex05/main.c
Normal file
12
Test/c09/ex05/main.c
Normal file
@ -0,0 +1,12 @@
|
||||
#include "ft_stock_str.h"
|
||||
|
||||
void ft_show_tab(struct s_stock_str *par);
|
||||
struct s_stock_str *ft_strs_to_tab(int ac, char **av);
|
||||
|
||||
int main(int ac, char **av)
|
||||
{
|
||||
t_stock_str *tab;
|
||||
|
||||
tab = ft_strs_to_tab(ac, av);
|
||||
ft_show_tab(tab);
|
||||
}
|
Reference in New Issue
Block a user