If the vector is empty , you can simply change the external vector with previously selected internal vectors without the need for a loop:
matrix.resize(COL, vector<char>(ROW));
, reset a , :
matrix = vector<vector<char> >(COL, vector<char>(ROW));
, , ROW COL. ( ) - , , matrix[col][row].