CSC112 Spring 2016 Examples
1// A header file for a namespace 2#ifndef NS1_H 3#define NS1_H 4 5namespace ns1 6{ 7 void f(); 8 9 class Example 10 { 11 public: 12 Example(); 13 void f(); 14 15 private: 16 int count; 17 }; 18} 19 20#endif 21