cpp_streams 0.1.0

C++ style streams for stdin/stdout
Documentation
1
2
3
4
5
6
7
8
9
use cpp_streams::{cin, cout, endl};

fn main() {
    let mut input = String::new();

    cin >> &mut input;

    cout << "Hello, world!\n" << "Other string\n" << input << "\n" << 1 << 1.0 << endl;
}