Segmantation fault with pointers
Go to solution
Solved by MisterWhite,
Asked my professor today about this. It appears that here is an infinite recursion because I don't check if the we were here already. e.g. the cursor is in the right most position (next block is a wall) the recursive call goes back one step and the right again and so on.
-
Topics
-
Required ·
Posted in Laptops and Pre-Built Systems0 -
0
-
1
-
2
-
7
-
Legendario1973 ·
Posted in Troubleshooting5 -
7
-
ian_one ·
Posted in Troubleshooting4 -
3
-
2
-
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now