Implementing a shortest path algorithm in C

Hello,

I have a question. I have to implement a shortest path algorithm in n*n grid, moving from one coordinate to another coordinate.

But i have no clue how to start. Can anyone help?

Thanks a tonn in advance!

Check out A* Pathfinding for Beginners.