Borland C++  All PUBLIC 
------------------------------------------------------------

// pOINTERS to CLASS MEMBERS must be initialized
// through the CLASS itself and accessed
// through a specific object of the CLASS
// See Lippman C++ Primer 2nd Ed. page 254

#include <iostream.h>
CLASS A
{
   public:
        int MEMBER;
};

typedef int A::*A_MEM_PTR ;   //define type--"type POINTER to 
                             //an int MEMBER"

main()
{
   A object;
   A_MEM_PTR ptr = &A::MEMBER;   // initialize via the generic CLASS
                                 // ( the general case )
   object.*ptr = 9;              // dereference via an instantiation
                                 // ( the specificcase )
   cout << object.member << endl;
   return 0;
}

