Enexistent data
-
I have a VC++ 6 project with the following:
//pointers.h
template <typename T> class tPointer {public:
// Some routines here
protected:
// Some other routines // Data T \*pPointer; tUnsignedWord pCounter;
};
// arrays.h
template <typename T> class tArray : public tPointer<T> {public: // Just the default constructor for now protected: tUnsignedWord nSize;
};
But when I write:
// launcher.cpp
int main( void )
{
tArray<int> p;p. // When I write the '.' (dot) a list of tArray's members appears
return 0;
}The problem is: 1) That list as the elements: nSize (fine with that) and pData (hã??) 2) tArray is not inheriting the routines from tPointer (i.e operator = ( tSomething ) ) Anybody knows why and how to solve this? NOTE: I wrote a tArray class on a previous project that had a pData member.. Is it possible that VC++ keeps some sort of records and is now accessing them? Plus, those are the only files I have included in the project so far. best regards [[]] hint_54