a.cpp: In function ‘int main()’:
a.cpp:12:11: error: ‘gets’ was not declared in this scope
gets(str1);
PAT编译器已经不支持gets
a.cpp: In function ‘int main()’:
a.cpp:12:11: error: ‘gets’ was not declared in this scope
gets(str1);
PAT编译器已经不支持gets