how to name the columns and rows in c++

Hi,
i have generated a matrix and looking for a way to name the rows and columns.
for eg,
x y z
x 1 2 5
y 3 6 9

the matrix is an output of addition between two matrices.
any kind of help would be appreciated.
thanks

Topic archived. No new replies allowed.