I have implemented following structures:
struct Point {
int x,y;
};
struct Array {
Point elem[3];
};
Could you explain why I'm getting an error:
error: too many initializers for 'Array'
when I use following construction?:
Array points2 {{1,2},{3,4},{5,6}};