0_0_16944379_16075.cpp:1:2: error: invalid preprocessing directive #iinclude
#iinclude<iostream>
^
0_0_16944379_16075.cpp: In function 'int main()':
0_0_16944379_16075.cpp:8:8: error: 'cin' was not declared in this scope
while(cin>>x1>>y1>>x2>>y2)
^
0_0_16944379_16075.cpp:10:45: error: 'sqrt' was not declared in this scope
res = sqrt((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1));
^
0_0_16944379_16075.cpp:11:3: error: 'cout' was not declared in this scope
cout<<setprecision(2)<<setiosflags(ios::fixed | ios::showpoint)<<res<<endl;
^
0_0_16944379_16075.cpp:11:38: error: incomplete type 'std::ios {aka std::basic_ios<char>}' used in nested name specifier
cout<<setprecision(2)<<setiosflags(ios::fixed | ios::showpoint)<<res<<endl;
^
0_0_16944379_16075.cpp:11:51: error: incomplete type 'std::ios {aka std::basic_ios<char>}' used in nested name specifier
cout<<setprecision(2)<<setiosflags(ios::fixed | ios::showpoint)<<res<<endl;
^
0_0_16944379_16075.cpp:11:73: error: 'endl' was not declared in this scope
cout<<setprecision(2)<<setiosflags(ios::fixed | ios::showpoint)<<res<<endl;
^
|