struct { int ftx, fty; int ttx, tty; } telemap[] = { { 10, 5, 131, 3 }, { 138, 6, 3, 4 }, }; int telemapsize = sizeof telemap / sizeof telemap[0];