I\'d like to initialize a vector of zeros with a specific size that is determined at runtime.
In C, it would be like:
You may use resize
let mut v = Vec::new(); let l = 42; v.resize(l, 0u32);