That code is so horrible!

Yuck! I'm almost throwing up it's so bad!

Their matrix class a) doesn't do any matrix ops, b) doesn't throw exceptions if you go out of range, it just prints an error to stderr! How stupid is that?

They're supposed to be teaching you C++, and if I was there now I'd be able to occupy them for hours with why they shouldn't use them.

Hey, send your teachers to this board and get them to PM me and Kedaman if they want more info