fork download
struct star
{
    int x ;
    int y ;
    
    star() = default ;
    star(const star&) = default ;
    star(int _x, int _y) :x(_x), y(_y) {}
};

struct collection
{
    int x = 0;
    star starArray[20];
};

int main()
{
	collection collOfStars ;
}
Success #stdin #stdout 0s 3292KB
stdin
Standard input is empty
stdout

Standard output is empty