
Need help with Managed arrays in C++...
I'm re-writing a DLL in managed C++ which holds multiple
vectors (arrays) of floating point data (Single). In 6.0
with
MFC I used to do this:
class CCommonDataFile : public CObject
{
....
private:
CTypedPtrArray<CPtrArray, float*> m_dataColumnArray;
....
Quote:
}
so I'd have an array of pointers to float (float vectors)
and would just allocate a block of memory on the heap for
them and read in data from a file. I'm really puzzled
with Managed arrays in C++. How can I get the same
effect? Is there some way to create, say, a managed array
of managed arrays of Singles?? Or a managed array of
pointers to managed arrays of Singles? It seemed so much
simpler in the old C++...
Mark.