foo.cc: In function ‘int main()’:
foo.cc:4:9: error: ‘cin’ was not declared in this scope; did you mean ‘min’?
4 | cin>>a>>b>>c;
| ^~~
| min
foo.cc:7:25: error: ‘cout’ was not declared in this scope
7 | cout<<a<<"<"<<b<<"<"<<c<<endl; // 1 2 3
| ^~~~
foo.cc:7:50: error: ‘endl’ was not declared in this scope
7 | cout<<a<<"<"<<b<<"<"<<c<<endl; // 1 2 3
| ^~~~
foo.cc:11:33: error: ‘cout’ was not declared in this scope
11 | cout<<a<<"<"<<c<<"<"<<b<<endl; // 1 3 2
| ^~~~
foo.cc:11:58: error: ‘endl’ was not declared in this scope
11 | cout<<a<<"<"<<c<<"<"<<b<<endl; // 1 3 2
| ^~~~
foo.cc:13:33: error: ‘cout’ was not declared in this scope
13 | cout<<c<<"<"<<a<<"<"<<b<<endl; // 2 3 1
| ^~~~
foo.cc:13:58: error: ‘endl’ was not declared in this scope
13 | cout<<c<<"<"<<a<<"<"<<b<<endl; // 2 3 1
| ^~~~
foo.cc:17:25: error: ‘cout’ was not declared in this scope
17 | cout<<b<<"<"<<a<<"<"<<c<<endl; // 2 1 3
| ^~~~
foo.cc:17:50: error: ‘endl’ was not declared in this scope
17 | cout<<b<<"<"<<a<<"<"<<c<<endl; // 2 1 3
| ^~~~
foo.cc:21:33: error: ‘cout’ was not declared in this scope
21 | cout<<b<<"<"<<c<<"<"<<a<<endl; // 3 1 2
| ^~~~
foo.cc:21:58: error: ‘endl’ was not declared in this scope
21 | cout<<b<<"<"<<c<<"<"<<a<<endl; // 3 1 2
| ^~~~
foo.cc:23:33: error: ‘cout’ was not declared in this scope
23 | cout<<c<<"<"<<b<<"<"<<a<<endl; // 3 2 1
| ^~~~
foo.cc:23:58: error: ‘endl’ was not declared in this scope
23 | cout<<c<<"<"<<b<<"<"<<a<<endl; // 3 2 1
| ^~~~
foo.cc:3:20: warning: unused variable ‘min’ [-Wunused-variable]
3 | int a,b,c, min;
| ^~~