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.
-
Featured Topics
-
Topics
-
0
-
Master_Kilvin ·
Posted in New Builds and Planning0 -
0
-
Foure ·
Posted in Networking1 -
PowerPCFan ·
Posted in Windows4 -
clutchmaster ·
Posted in Tech News6 -
1
-
Steve_6502 ·
Posted in CPUs, Motherboards, and Memory1 -
4
-
Dedayog ·
Posted in General Discussion2
-
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