Introduction
Objectives
We would like to :
- Understand our objectives for this section
Notes
- I would like to discuss basic file input.
- Files provide us the ability to deal with larger amounts of data.
- Most programs will read from or write to a file, or perhaps both.
- For this week, we will do basic file input.
- We first need to lean about exceptions from section 3.7.
- Then we will deal with basic file input Chapter 11.
- We will finish by looking at a few examples.
- But a few comments
- The way you learn to code is by
- Understanding the background material
- Looking at and understanding examples
- Following the examples to write code on your own.
- Writing code without the examples, but with references
- If you are using examples form other sources
- Make sure that you understand what you are using.
- Just copying code for a grade is dumb.
- Some of you are submitting
- Code that does not match what we are talking about.
- And is way too complex.
- Be careful, cutting and pasting is not a marketable skill
- Don't make it easy for chatGPT to replace you.