0_0_17831442_2238.cpp: In function 'int main()': 0_0_17831442_2238.cpp:40:9: error: cannot convert 'std::string {aka std::basic_string<char>}' to 'char*' for argument '1' to 'char* gets(char*)' gets(a); ^