Is this the best way to make a variable sized struct in C++? I don\'t want to use vector because the length doesn\'t change after initialization.
struct Pack
You should declare a pointer, not an array with an unspecified length.