I'm working on a maze solving program right now... But the problem is, I dont know how to access a pointer to pointer to struct data.
Something like this
struct path *solution_path in function A
it points to struct tile *tile_list in another struct which points to:
I want to store values on 'value'... so how do I access value?Code:struct tile { /*position of the tile on the maze*/ int x; int y; /*current value of the tile*/ int value; };
I've been looking over the internet on how to do it... but I can't find any...
doing something like solution_path->tile_list[].value doesn't seem to work...