mirror of
https://github.com/DavidGailleton/42-Push_Swap.git
synced 2026-01-27 00:41:57 +00:00
finish to link all the files
This commit is contained in:
@@ -11,9 +11,10 @@
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "push_swap.h"
|
||||
#include "parsing.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
t_stack *parsing(int argc, char **argv)
|
||||
static t_stack *parsing(int argc, char **argv)
|
||||
{
|
||||
int i;
|
||||
int stock;
|
||||
|
||||
@@ -12,22 +12,8 @@
|
||||
|
||||
#include "push_swap.h"
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
void print_tabs(t_tab *preset)
|
||||
{
|
||||
t_tab *tab;
|
||||
|
||||
tab = preset;
|
||||
while (tab)
|
||||
{
|
||||
printf("MAX RANGE : [%d]\n", tab->max_range);
|
||||
printf("NUMBER IN : [%d]\n", tab->nb_in);
|
||||
tab = tab->next;
|
||||
}
|
||||
}
|
||||
|
||||
t_stack *parsing2(int *tab, int len)
|
||||
static t_stack *parsing2(int *tab, int len)
|
||||
{
|
||||
int i;
|
||||
int stock;
|
||||
|
||||
Reference in New Issue
Block a user