Explain this code please (newbie)

Apr 20, 2017 at 5:19am
Hello, I'm writing a pathfinder, I'm following Amit's A* pathfinding tutorial, I've been trying to make sense of the search function below and commented what I 'think' its doing. Can someone explain the nuts and bolts of the function below please? Thank you in advance.

Last edited on Apr 21, 2017 at 2:40pm
Apr 21, 2017 at 5:42pm
Hello Chris,

What code? There is no code in the message I see. And remember to use code tags.

PLEASE ALWAYS USE CODE TAGS (the <> formatting button) when posting code.
It makes it easier to read your code and also easier to respond to your post.
http://www.cplusplus.com/articles/jEywvCM9/
http://www.cplusplus.com/articles/z13hAqkS/
Hint: You can edit your post, highlight your code and press the <> formatting button.
You can use the preview button at the bottom to see how it looks.

Andy
Topic archived. No new replies allowed.