0_0_25849929_23501.cpp: In function 'int main()':
0_0_25849929_23501.cpp:6:14: error: conflicting declaration 'char s [20000]'
char s[20000];
^
0_0_25849929_23501.cpp:5:9: note: previous declaration as 'std::string s'
string s;
^
0_0_25849929_23501.cpp:7:14: error: cannot convert 'std::string {aka std::basic_string<char>}' to 'char*' for argument '1' to 'char* gets(char*)'
while(gets(s)){
^
|