Advertisement
anonymous_infoholic

A.h

Apr 18th, 2012
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.20 KB | None | 0 0
  1. #ifndef A_H
  2. #define A_H
  3.  
  4. class A
  5. {
  6. friend class List;
  7. private:
  8.     int id;
  9.     int Compare(int, int);
  10. public:
  11.     A()
  12.     {
  13.         id = 0;
  14.     }
  15.     A(int i)
  16.     {
  17.         id = i;
  18.     }
  19.     void NewObject(int i);
  20. };
  21.  
  22. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement