Quote:
Originally posted by Nightblade
sorry...just signed up for this forum...im a friend of Jigglychu and we are both in the same class with the terrible santa claus of a teacher... my question is with the last function...the diagonal addition...when i run it, it just gives the first value in the matrix (0,0)...when its supposed to add all the diagonal values of the matrix
When you post on a public forum, everyone who is on the forum is entitled to comment. CodeGuru isn't a chat room. Your subject of "matrix" will make participants in CodeGuru believe that the topic concerns using a matrix C++ library, or a problem with using such a library, etc. Instead, they are greeted with a bunch of code with no context.