#include <iostream>
struct foo
{
    int array[10];
    int simpleInt;
    foo() : array{1,2,3,4,5,6,7,8,9,10}, simpleInt(0) {};
};
int main()
{
    foo f;
    for(int i=0; i<10; ++i)
        std::cout << f.array[i] << ' ';
}    