Any help will be appreciated.
note: to2Darray is not a valid statement ;-) // --- module test; import std; void main() {int[][] arrayOfarrays = iota(1, 16).chunks(5).to2Darray; // how to convert this into [][]
} // ---
forkit via Digitalmars-d-learn Fri, 14 Jan 2022 17:50:58 -0800
Any help will be appreciated.
note: to2Darray is not a valid statement ;-) // --- module test; import std; void main() {int[][] arrayOfarrays = iota(1, 16).chunks(5).to2Darray; // how to convert this into [][]
} // ---