官术网_书友最值得收藏!

Input and Output

Up to this point, we've only seen data coming from our examples, and then only using the println! macro function. While the println! macro is very useful, we really need to look at output. We also need to know how to get data in, and once the data is in, we have to check that the type entered is the type required.

In this chapter, we will be covering the following topics:

  • Examining ways of outputting data
  • Examining how to get data into an application
  • Starting your program with command-line arguments
  • Discussing how a method in Rust is different from a method in other languages
  • A brief introduction to the standard library
主站蜘蛛池模板: 青浦区| 金塔县| 化德县| 霍林郭勒市| 正阳县| 高尔夫| 沽源县| 紫云| 东安县| 舟山市| 慈利县| 米泉市| 乌苏市| 鄂尔多斯市| 台湾省| 光泽县| 佳木斯市| 寿宁县| 富锦市| 扬中市| 华蓥市| 西盟| 南和县| 南靖县| 平舆县| 济阳县| 潼南县| 南华县| 本溪市| 饶河县| 临夏县| 乡宁县| 盐亭县| 罗定市| 绿春县| 林西县| 泰来县| 咸阳市| 内黄县| 防城港市| 吉水县|