Want more features on Pastebin? Sign Up, it's FREE!
Guest

A.h

By: anonymous_infoholic on Apr 18th, 2012  |  syntax: C++  |  size: 0.20 KB  |  views: 58  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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
clone this paste RAW Paste Data