0_0_34790288_4747.cpp: In function 'int main()': 0_0_34790288_4747.cpp:72:48: error: cannot pass objects of non-trivially-copyable type 'std::string {aka class std::basic_string<char>}' through '...' printf("%s %d\n", q[i].name, q[i].a); ^