|
-
April 10th, 2002, 05:48 PM
#1
Dinamic array of structures
Hi, i would like to know if there is a way I can build a dinamic array of structures.
I'v got this:
struct m_Data{
ULONG m_Size;
ULONG m_Address;
ULONG m_RawData;
ULONG m_PointerToRawData;
};
is there a way I can build an array from this struct??
I need to do something like this
m_Data *m_DinamicData[] = new m_Data[y];
where y is a value i get from another function.
The compiler expect for a constant value instead of y, and gives me an error
Tnx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|