CS202
2- ‹#›
List Example
n
For a list of videos, we might start with
a struct defining what a video is:
n
ä
struct video {
–
char title[100];
–
char category[5];
–
int quantity;
–
};
We will re-visit this example using
dynamic memory once we understand
the mechanics of classes