1    #ifndef W2EX2_H
2    #define W2EX2_H
3   
4    //
5    // Week 2, Complete Class Example
6    //
7    // Provides an example of a complete class
8    // header file and implementation file
9    //
10   
11    class foo
12    {
13    public:
14        foo ();
15        foo (const foo &);
16        foo (int);
17   
18        ~foo ();
19   
20        void setData (int);
21        int getData () const;
22   
23    private:
24        int *myData;
25    };
26   
27    #endif