0_0_31572222_5444.cpp: In function 'int main()': 0_0_31572222_5444.cpp:109:61: error: request for member 'time' in 's1', which is of non-class type 'node [25]' cout<<s1[i].id<<" "<<s1[i].name<<" "<<s1[i].position<<s1.time<<endl; ^