Strings and Files Preparation
Basic Learning Objectives
Before class, you should be able to:
- Identify the various functions that the string library provides
- Explain the difference between
strcpy
andstrncpy
- Compare the characters in two strings for equality
- Use
man
to get more information about a function - Explain the steps to work with a file
Advanced Learning Objectives
After class, you should be able to:
- Get user input using
scanf
and command-line arguments - Explain how arrays are passed to functions
- Explain how strings and character arrays relate
- Define null-terminated
Resources
You should read the following in DIS:
Checks
Complete the checks on these pages. If you have any questions on them, post to CampusWire please!