adjacency matrix

This is a discussion on adjacency matrix within the C++ Programming forums, part of the General Programming Boards category; Any suggestions as to why this program only reads in the data and doesn't out out it. I have looked ...

adjacency matrix

Any suggestions as to why this program only reads in the data and doesn't out out it. I have looked at it till I can't see and I think that is my problem. Any suggestions as to where to look or how to fix would be awesome!!

I think this program is self explained.
Read in adjacency matrix, call up a power of it, print it out!!

I guess that is what I get for spending Spring Break at home =)
So I am thinking with what little brain I have left that in my matin function I need some sort of loop that will keep advancing me through the matrix?? Doesn't the for loops advance me to the "next space" within the matrix??