0_0_14082752_29895.cpp:4:9: error: 'a' was not declared in this scope
int min(a,b)
^
0_0_14082752_29895.cpp:4:11: error: 'b' was not declared in this scope
int min(a,b)
^
0_0_14082752_29895.cpp:4:12: error: expression list treated as compound expression in initializer [-fpermissive]
int min(a,b)
^
0_0_14082752_29895.cpp:5:1: error: expected ',' or ';' before '{' token
{
^
0_0_14082752_29895.cpp:11:11: error: '::main' must return 'int'
void main()
^
0_0_14082752_29895.cpp: In function 'int main()':
0_0_14082752_29895.cpp:17:29: error: 'min' cannot be used as a function
b=min(min(a[i]*2,a[j]*3),min(a[k]*5,a[l]*7));
^
0_0_14082752_29895.cpp:17:48: error: 'min' cannot be used as a function
b=min(min(a[i]*2,a[j]*3),min(a[k]*5,a[l]*7));
^
0_0_14082752_29895.cpp:17:49: error: 'min' cannot be used as a function
b=min(min(a[i]*2,a[j]*3),min(a[k]*5,a[l]*7));
^
0_0_14082752_29895.cpp:43:15: error: 'exit' was not declared in this scope
exit(0);
^
|