expression must have pointer-to-object type,subscript requires array or pointer type
<pre><code>  class RC5 {
      public:
        RC5() :
          _bufKey(new unsigned __int32[4]),
          _bufSub(new unsigned __int32[26]) {
        }
        unsigned __int8 Test(unsigned __int8 data);

        virtual ~RC5() {
          delete [] _bufKey;
          delete [] _bufSub;
        }
      private:
        unsigned __int32 *const _bufKey;
        unsigned __int32 *const _bufSub;
    };

    unsigned __int8 RC5::Test(unsigned __int8 data)
    {
                for (int i = 0; i &lt; 4; i++)
                {
                    _bufKey[i] = (unsigned __int32)(data[i * 4] + (data[i * 4 + 1] &lt;&lt; 8) + (data[i * 4 + 2] &lt;&lt; 16) + (data[i * 4 + 3] &lt;&lt; 24));
                    }       
    }
</code></pre>

<p>i got this errors : expression must have pointer-to-object type,subscript requires array or pointer type</p>
