dynamic allocation of structs can somebody help me get this thing straight...,
am making a dynamic struct.., something is wrong here..,
so how do i access the function in it? like this?
typedef struct tagASTRUCT
void Create(int data)
m_data = data;
// now, i'd like to specify the number of structs that i'll be usingo n runtime..,
object = new tagASTRUCT; // example 10 kinds of this,
why is not like this?