On Sat, 2 Dec 2023 at 21:24, Costas Argyris wrote:
>
> Use std::vector instead of malloc'd pointer
> to get automatic freeing of memory.

You can't include <vector> there. Instead you need to define
INCLUDE_VECTOR before "system.h"

Shouldn't you be using resize, not reserve? Otherwise mdswitches[i] is
undefined.

Reply via email to