Skip to content

A simple pair of rust programs that writes to and read from a file.

Notifications You must be signed in to change notification settings

pirapira/rust-file-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

A simple practice. How to write to and read from files in rust. The filename is constant "./test.dat".

Usage

With rust master.

% rustc file_writer.rs
% ./file_writer
% rustc file_reader.rs
% ./file_reader
90
22
%

Please send pull-requests. I want to learn the good practices.

About

A simple pair of rust programs that writes to and read from a file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages