First, I will explain what this program does.
This program is meant to find the quickest route around a "maze"
The maze is a grid 3 columns, 4 rows.
The object is to go to each point, without going the same way, but some points you can go through twice.
The problem with my program is it is making illegal jumps(ie. its at 1,1 and goes to 3,2..skipping many numbers.) and when it does that is messed up coords.
coords[cx][cy] is a double array that keeps track of where it can move, and where it cant. cx = points[x][y](cuurent point) and cy = nextpoint[ax][ay].
I will attach my program so hopefully someone can figure out why it is making illegal jump and can fix it.