随笔分类 -  Rust

上一页 1 ··· 9 10 11 12 13
摘要:环境 Windows 10 Rust 1.54.0 VSCode 1.59.1 示例 根据传统,首先编写一个 Hello World 程序,然后使用 vscode 打开并运行。 创建项目使用 cargo new hello_world。 使用 vscode 打开项目 Rust 插件 Rust 插件在 阅读全文
posted @ 2021-11-30 22:12 波尔 阅读(1218) 评论(0) 推荐(0) 编辑
摘要:环境 Windows 10 Rust 1.54.0 Hello World 根据传统,首先编写一个 Hello World 程序。 参考这里的代码:https://doc.rust-lang.org/cargo/guide/creating-a-new-project.html Cargo 是 Ru 阅读全文
posted @ 2021-11-30 22:10 波尔 阅读(765) 评论(0) 推荐(0) 编辑
摘要:环境 Windows 10 Rust 1.54.0 Hello World 根据传统,首先编写一个 Hello World 程序。 参考这里的代码:https://doc.rust-lang.org/cargo/getting-started/first-steps.html Cargo 是 Rus 阅读全文
posted @ 2021-11-30 22:08 波尔 阅读(2494) 评论(0) 推荐(1) 编辑
摘要:环境 Windows 10 Rust 1.54.0 Hello World 根据传统,首先编写一个 Hello World 程序。 参考这里的代码:https://doc.rust-lang.org/stable/rust-by-example/hello.html 新增 main.rs 文件 新增 阅读全文
posted @ 2021-11-30 22:05 波尔 阅读(149) 评论(0) 推荐(0) 编辑
摘要:环境 Windows 10 下载 rust-init 进入官网的下载页面:https://www.rust-lang.org/tools/install 根据 32 还是 64 位系统选择下载不同的 exe 文件,下载完成后双击运行。 安装 Rust 前置条件说明 默认情况,Rust 依赖 C++ 阅读全文
posted @ 2021-11-30 22:01 波尔 阅读(2603) 评论(1) 推荐(2) 编辑

上一页 1 ··· 9 10 11 12 13