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
-
2
-
mx5nos ·
Posted in Troubleshooting1 -
2
-
pchelp ·
Posted in Programs, Apps and Websites4 -
Cople ·
Posted in New Builds and Planning3 -
2
-
johnny45 ·
Posted in Linux, macOS and Everything Not-Windows0 -
11
-
Stahlmann ·
Posted in Graphics Cards4
-
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