Answers for "multidimensional array in rust"

0

rust multi-dimensional array

let (a, b, c) = (4, 5, 6);
let mut arr = vec![vec![vec![0.0f64; a]; b]; c];
arr[1][2][3] = 1.0;
let x = arr[1][2][3];
println!("{}", x);
Posted by: Guest on March-11-2021

Code answers related to "multidimensional array in rust"

Browse Popular Code Answers by Language