how to do this in C:
if got:
myheader.h:
#define sz 5
in program if option = 2, sz for marray change to 10.
extern unsigned char marray[arrsz];
also, in C file, locations[] be the first one if option = 1 or be locations[] be the
second one if the option = 2.
struct pt
{
int x,y;
};
static pt locations[] =
{
{100,200},
{210,320}
};
static pt locations[] =
{
{100,200},
{210,320},
{410,120}
};