Problem with a push_swap project: segfault every time [C]
I’m having lot of problems with this exercise, i think the problem is that my stacks can’t receive any numbers so they are always empty, but i don’t know how to solve it and make it work.
It’s in this github repo: (https://github.com/javizgza/push_swap). Any help or tip is welcome.
I think that the problem is in the file utils.c, in the function ft_complete_stk. THANKS