CS202   2- ‹#›
Class Implementation
nClass Implementation list.c
ä#include “list.h” notice the double quotes
ä    int list::display_all() {
ä for (int i=0; i<num_of_videos; ++i)
ä    cout <<my_list[i].title <<‘\t’
ä <<my_list[i].category
ä <<‘\t’ <<my_list[i].quantity <<endl;
ä     }
äNotice, the code is the same
äBut, the function is prefaced with the class name and the scope resolution operator!
äThis places the function in class scope even though it is implemented in another file
äIncluding the list.h file is a “must”
n