commit 5fa0ec070de559ac1472edff28d99d24ba6a5aa3 parent abe5a4804e91b4a89440f192646b096a4035c918 Author: thing1 <thing1@seacrossedlovers.xyz> Date: Tue, 10 Mar 2026 14:42:00 +0000 added lecture notes Diffstat:
| A | CS10720/10.03.26.md | | | 1 | + |
| A | CS12320/10.03.26.md | | | 7 | +++++++ |
| M | CS12320/workshop/5/.idea/vcs.xml | | | 1 | + |
3 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/CS10720/10.03.26.md b/CS10720/10.03.26.md @@ -0,0 +1 @@ +# 10/03/26 diff --git a/CS12320/10.03.26.md b/CS12320/10.03.26.md @@ -0,0 +1,7 @@ +# 10/03/26 + +- use `FileReader` and `FileWriter` to open files +- use `.read()` and `.write()` to read and write files +- use `BufferedReader` and `PrintWriter` for buffered reads and writes (more important for reads) +- `DataInputStream` can be used to read non byte data, eg ints and floats +- `Scanner` can be used on any input stream diff --git a/CS12320/workshop/5/.idea/vcs.xml b/CS12320/workshop/5/.idea/vcs.xml @@ -2,5 +2,6 @@ <project version="4"> <component name="VcsDirectoryMappings"> <mapping directory="$PROJECT_DIR$/../../.." vcs="Git" /> + <mapping directory="$PROJECT_DIR$/../../lus53-TheCodeBreaker-2025-26" vcs="Git" /> </component> </project> \ No newline at end of file