The syntax would be something like this:
Code:
struct Frame loop1[] = {{0, 1, 2},
{1, 2, 3},
{2, 3, 4},
{3, 4, 5},
{4, 5, 6}};
EDIT:
Originally Posted by
Involute
I'd like to create an array of these structs with 50 elements, each of which is initialized to a specific value (I can't do it through a loop).
Actually, while you cannot initialise with a loop, you don't necessarily have to initialise in that sense, e.g., instead of hardcoding all 50 elements' initial values, perhaps you could read from file and then use a loop to assign the initial values according to what was read.