rust语言试一下,记录一下


   
fn main() {
    // println!("{}",add(2,3));
    another_function();
  
}


fn another_function() {
   
    let a = 666;
    println!("Rust's first language!老铁双击 {}",a);
}

运行代码

~ rustc 文件名.rs

~./文件名

猜你喜欢

转载自blog.csdn.net/weixin_37254196/article/details/106216955