I/O Stream 应试向整理
I/O stream integration
stdin stream
deal with separately in a cpp form
1 | |
deal with altogether
1 | |
input from file
C-style method
1 | |
include<fstream>(if not required to deal with elements separately)
1 | |
include<fstream>(but required to deal with elements separately with xs branket)
1 | |
an inefficient way of C-style(if required to deal with elements separately with xs branket)
1 | |
I/O Stream 应试向整理
https://cloudflipper.github.io/2022/12/12/iostream-integration/