How could I create matrix using 2d vector in C++? [closed]


I wanted to create a matrix using 2D vector. For instance, I wanted to create all of the elements in my matrix to be initialized to dash character ‘-‘. Last, each of the line must consist 5 different elements. First one is for the words to be placed,second and third are for the row and column number, fourth one is for the direction of the placement and the fifth one is for the orientation.

Source: Windows Questions C++