QUOTE(stayscrisp @ 18 Jul, 2008 - 10:10 PM)

dont know if im right but if you want to print out a 2 dimensional array then you should create a 2 dimensional array,
Noooo! Um, sorry.
Two dimensional arrays are a bit of a mess, honestly. They're nice enough for a one off but for anything serious I'd take the time flatten the little error prone beasts out. Worst case in a C++ prog is you end up with some funky jagged array that never really gets disposed properly. Pointer pointers and lovely **argv type syntax in C.
Using a standard derived index form (row*cols + col) is simple enough and I'd never advise anyone against it who's already using it.
Anyway, that's not the issue. It looks like the the prior answer of capping it with a new line may be it.