/in/foo.cc: In function 'int main()':
/in/foo.cc:6:13: error: 'a' was not declared in this scope
SelectSort(a,n);
^
/in/foo.cc:6:15: error: 'n' was not declared in this scope
SelectSort(a,n);
^
/in/foo.cc:6:16: error: 'SelectSort' was not declared in this scope
SelectSort(a,n);
^
/in/foo.cc:7:12: error: 'Output' was not declared in this scope
Output(a,n);
^
/in/foo.cc:5:6: warning: unused variable 'an' [-Wunused-variable]
int an;
^~
/in/foo.cc: In function 'void SelectSort(int*, int, int)':
/in/foo.cc:26:7: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator!='
if(i!=min)
~^~~~~
/in/foo.cc:32:13: error: 'Output' was not declared in this scope
Output(a,n);
^
/in/foo.cc:36:1: error: a function-definition is not allowed here before '{' token
{
^
/in/foo.cc:40:1: error: expected '}' at end of input
}
^