Main.cc:3:9: error: ISO C++ forbids declaration of 'intmain' with no type [-fpermissive]
intmain() {
^
Main.cc: In function 'int intmain()':
Main.cc:6:5: error: 'inta' was not declared in this scope
inta[n];
^
Main.cc:8:16: error: 'a' was not declared in this scope
cin >> a[i]; }
^
Main.cc:13:17: error: 'a' was not declared in this scope
if (a[i] < a[Min]) {
^
Main.cc:17:13: error: 'a' was not declared in this scope
t = a[j];
^