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
-
0
-
finalchapter ·
Posted in Troubleshooting1 -
2
-
busby_bee_boy ·
Posted in New Builds and Planning11 -
2
-
Required ·
Posted in Laptops and Pre-Built Systems0 -
1
-
1
-
10
-
8
-
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