fn test(vec: &mut Vec<Vec<char>>){
vec[0][0] = 'd';
..//
vec[23][79] = 'd';
}
fn main() {
let mut vec = vec![vec!['#'; 80]; 24];
test(&mut vec);
}
Code Example |
---|
Rust :: string to bytes rust |
Rust :: host rust server |
Rust :: get length of vector rust |
Rust :: rust string to f64 |
Rust :: read line rust |
Rust :: rust javascript |
Rust :: rust String to &str |
Rust :: rust round 2 decimal places |
Rust :: read file in rust bufreader |
Rust :: rust while loop |
Rust :: rust new tuple |
Rust :: rust string interpolation |
Rust :: stringify! in rust |
Rust :: rust•armanriazi•lifetime•unsafe•destructor |
Rust :: rust ceil |
Rust :: rust match wildcard |
Rust :: find prime numbers with the sieve of Eratosthenes |
Rust :: rust•armanriazi•trait•PartialEq |
Rust :: trait in rust |
Lua :: lua dump table |
Lua :: if part is touched |
Lua :: roblox tween part |
Lua :: input in lua |
Lua :: lua sort |
Lua :: What is transparency in roblox |
Lua :: lua genetic algorithm |
Lua :: How to Register a command in Lua |
Lua :: how to make auto scroll roblox |
Lua :: lua compare time |
Matlab :: matlab symbolic function |