0_0_14303319_6702.cpp:11:31: error: macro "Swap" passed 3 arguments, but takes just 2
void Swap(int *a, int m, int n){
^
0_0_14303319_6702.cpp:40:21: error: macro "Swap" passed 3 arguments, but takes just 2
Swap(a, 1, i);
^
0_0_14303319_6702.cpp:11:6: error: variable or field 'Swap' declared void
void Swap(int *a, int m, int n){
^
0_0_14303319_6702.cpp:12:5: error: expected primary-expression before 'int'
int temp;
^
0_0_14303319_6702.cpp:12:5: error: expected '}' before 'int'
0_0_14303319_6702.cpp:13:5: error: 'temp' does not name a type
temp = a[m];
^
0_0_14303319_6702.cpp:14:5: error: 'a' does not name a type
a[m] = a[n];
^
0_0_14303319_6702.cpp:15:5: error: 'a' does not name a type
a[n] = temp;
^
0_0_14303319_6702.cpp:16:1: error: expected declaration before '}' token
}
^
|