How to get the arguments from the command line used to launch the program
How to return a status code to the operating system when exiting the program
How to get and set the process environment variables
Techniques and best practices to handle runtime errors
How to read from the console keyboard and how to write to the console screen
How primitive types are converted to string
How to convert a string to a primitive type
How to read or write a binary file
How to read a text file, a line at a time ...
© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
C. MilanesiBeginning Rusthttps://doi.org/10.1007/978-1-4842-7208-4_1717. Input/Output and Error Handling
Carlo Milanesi1
(1)
Bergamo, Italy
In this chapter, you will learn:
Get Beginning Rust: Get Started with Rust 2021 Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.