0_0_18855905_7869.cpp: In function 'int main()':
0_0_18855905_7869.cpp:16:11: error: 'cin' was not declared in this scope
while(cin>>n,n>=0)
^
0_0_18855905_7869.cpp:19:9: error: 'cout' was not declared in this scope
cout<<0<<endl;
^
0_0_18855905_7869.cpp:19:18: error: 'endl' was not declared in this scope
cout<<0<<endl;
^
0_0_18855905_7869.cpp:21:9: error: 'cout' was not declared in this scope
cout<<s[n]<<endl;
^
0_0_18855905_7869.cpp:21:21: error: 'endl' was not declared in this scope
cout<<s[n]<<endl;
^
|