0_0_37946985_32071.cpp: In function 'int main()': 0_0_37946985_32071.cpp:75:23: error: cannot pass objects of non-trivially-copyable type 'std::string {aka class std::basic_string<char>}' through '...' scanf("%s",str); ^