To create a simple array i'd do!! std::unique_ptr<int[]> arr(new int[100]); How can i create a 100*100 2d array using a unique ptr??
確定! 回上一頁