Hello friends, I am just trying to represent a grid by using a collection of node structures. These node structures contain the index locations (x,y) and two characters about the linkage of the node to other node. Well thats it, now the problem I am facing is I a am getting error in the initializing lines of the structures. I am intializing the nodes inside two for loops so that they are indexed according to the locations. The error shows as "expected expression before '{' token"
The program is pasted here:
Pastecode
Please let me know where the mistake is...