Lecture Summaries - Week 14
Jump To:
[Lecture Index |
Previous Week's Lectures |
Next Week's Lectures]
Topics covered:
- What is a structure and why we need them.
- How we declare a structure type.
- How we declare a structure variable.
- How we access structure fields.
- How we pass structures as parameters.
- How changing a field in a passed structure doesn't affect the
structure in the caller.
- How we pass pointers to structure as parameters.
Reading: Chapter 11.1 (pages 251-256).
Topics covered:
- How we can have structures that contain arrays and strings.
- A program to read information into a student structure
(student.c).
- How structures make our programs easier to change.
- Why we need arrays of structures.
- How to create arrays of structures.
- How to pass arrays of structures as parameters.
- How to search arrays of structures.
Reading: Chapter 11.1 (pages 257-260).
[EE150 Home Page |
Top Of Page]