Is there a way to convert stack to 2d array?. I try using this code and I am getting this error
[Error] cannot convert \'std::stack\' to \'int\' in assig