Why is this syntax not correct?
char* p = new char[dg.sizeof(Payload())];
I want to make a new variable that is a string the size of the Payload portion of dg... I don't understand how to do this? Thank you
error: expected unqualified-id before 'sizeof'
error: expected `]' before 'sizeof'
error: expected ',' or ';' before 'sizeof'