0_0_38492082_15936.cpp: In function 'int main()':
0_0_38492082_15936.cpp:7:2: error: 'cin' was not declared in this scope
cin>>a>>b>>c>>d;
^
0_0_38492082_15936.cpp:10:2: error: 'cout' was not declared in this scope
cout<<setiosflags(ios::fixed)<<setprecision(2)<<com1<<endl;
^
0_0_38492082_15936.cpp:10:20: error: 'ios' has not been declared
cout<<setiosflags(ios::fixed)<<setprecision(2)<<com1<<endl;
^
0_0_38492082_15936.cpp:10:30: error: 'setiosflags' was not declared in this scope
cout<<setiosflags(ios::fixed)<<setprecision(2)<<com1<<endl;
^
0_0_38492082_15936.cpp:10:30: note: suggested alternative:
In file included from 0_0_38492082_15936.cpp:2:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iomanip:96:3: note: 'std::setiosflags'
setiosflags(ios_base::fmtflags __mask)
^
0_0_38492082_15936.cpp:10:47: error: 'setprecision' was not declared in this scope
cout<<setiosflags(ios::fixed)<<setprecision(2)<<com1<<endl;
^
0_0_38492082_15936.cpp:10:47: note: suggested alternative:
In file included from 0_0_38492082_15936.cpp:2:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iomanip:195:3: note: 'std::setprecision'
setprecision(int __n)
^
0_0_38492082_15936.cpp:10:56: error: 'endl' was not declared in this scope
cout<<setiosflags(ios::fixed)<<setprecision(2)<<com1<<endl;
^
0_0_38492082_15936.cpp:11:20: error: 'ios' has not been declared
cout<<setiosflags(ios::fixed)<<setprecision(2)<<com2<<endl;
^
|