Main.cc:1:1: error: ‘include’ does not name a type; did you mean ‘__has_include’?
include
^~~~~~~
__has_include
Main.cc: In function ‘void print(int*)’:
Main.cc:11:9: error: ‘cout’ was not declared in this scope
cout<>s1>>s2;
^~~
Main.cc:59:5: note: suggested alternative: ‘main’
cin>>s1>>s2;
^~~
main
Main.cc:59:10: error: ‘s1’ was not declared in this scope
cin>>s1>>s2;
^~
Main.cc:59:14: error: ‘s2’ was not declared in this scope
cin>>s1>>s2;
^~
Main.cc:61:5: error: ‘string_to_number’ was not declared in this scope
string_to_number(s1,a); // 将字符串存入整数数组
^~~~~~~~~~~~~~~~