start
This commit is contained in:
7
Cargo.lock
generated
Normal file
7
Cargo.lock
generated
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# This file is automatically @generated by Cargo.
|
||||||
|
# It is not intended for manual editing.
|
||||||
|
version = 4
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "oeufman"
|
||||||
|
version = "0.1.0"
|
||||||
6
Cargo.toml
Normal file
6
Cargo.toml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
[package]
|
||||||
|
name = "oeufman"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2024"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
8
src/main.rs
Normal file
8
src/main.rs
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
|
||||||
|
fn main() {
|
||||||
|
let mut u:i8 = 0b000_0001;
|
||||||
|
let tab:[i8; 5] = [50,0,0,0,0];
|
||||||
|
let mut i = tab[0];
|
||||||
|
println!("Tableau (debug) : {:?}", tab);
|
||||||
|
println!("{i}");
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user