Passing a 2d dynamic array to a function in C++

前端 未结 5 1515
长情又很酷
长情又很酷 2021-01-19 23:52

I have this 2d dynamic array and I want to pass it to a function, How would I go about doing that

int ** board;
        board = new int*[boardsize];

                


        
5条回答
提交回复
热议问题