0_0_36490887_26177.cpp: In function 'int main()':
0_0_36490887_26177.cpp:4:11: error: 'cin' was not declared in this scope
while(cin>>str){//cin接收字符串时,空格,tab,和回车都会返回新的cin
^
0_0_36490887_26177.cpp:17:9: error: 'cout' was not declared in this scope
cout<<str[0]<<' '<<str[1]<<' '<<str[2]<<' '<<str[3]<<endl;
^
0_0_36490887_26177.cpp:17:62: error: 'endl' was not declared in this scope
cout<<str[0]<<' '<<str[1]<<' '<<str[2]<<' '<<str[3]<<endl;
^
0_0_36490887_26177.cpp:19:5: error: expected '}' at end of input
}
^
|