I know how to do a matrix program using array but my problem is how to output it.
example:
0 0 0 + 4 5 6
0 0 0 8 6 4
i want the user to input the elements of the matrix in such a way that when he input a number and press the Enter key, the cursor will automatically move to the next element (to the right).
e.g.
3 _| 0
0 0 0
0 0 0
*****it will overwrite the 0's
I don't know any function or command in c++ that will enable the cursor move to the right without using "\t". Please help me