0_0_33924866_6220.cpp: In function 'int main()': 0_0_33924866_6220.cpp:96:12: error: cannot convert 'std::string {aka std::basic_string<char>}' to 'char*' for argument '1' to 'char* gets(char*)' gets(str1); ^