0_0_27411342_17777.cpp: In function 'bool cmp(equipment, equipment)':
0_0_27411342_17777.cpp:9:1: error: expected primary-expression before '?' token
?return A.v2-A.v1>B.v2-B.v1;
^
0_0_27411342_17777.cpp:9:2: error: expected primary-expression before 'return'
?return A.v2-A.v1>B.v2-B.v1;
^
0_0_27411342_17777.cpp:9:2: error: expected ':' before 'return'
0_0_27411342_17777.cpp:9:2: error: expected primary-expression before 'return'
0_0_27411342_17777.cpp: In function 'int main()':
0_0_27411342_17777.cpp:14:1: error: expected primary-expression before '?' token
?int test,vv,n,i;
^
0_0_27411342_17777.cpp:14:2: error: expected primary-expression before 'int'
?int test,vv,n,i;
^
0_0_27411342_17777.cpp:14:2: error: expected ':' before 'int'
0_0_27411342_17777.cpp:14:2: error: expected primary-expression before 'int'
0_0_27411342_17777.cpp:15:1: error: expected primary-expression before '?' token
?scanf("%d",&test);
^
0_0_27411342_17777.cpp:15:14: error: 'test' was not declared in this scope
?scanf("%d",&test);
^
0_0_27411342_17777.cpp:15:19: error: expected ':' before ';' token
?scanf("%d",&test);
^
0_0_27411342_17777.cpp:15:19: error: expected primary-expression before ';' token
0_0_27411342_17777.cpp:16:1: error: expected primary-expression before '?' token
?while(test--)
^
0_0_27411342_17777.cpp:16:2: error: expected primary-expression before 'while'
?while(test--)
^
0_0_27411342_17777.cpp:16:2: error: expected ':' before 'while'
0_0_27411342_17777.cpp:16:2: error: expected primary-expression before 'while'
0_0_27411342_17777.cpp:28:3: error: expected '}' at end of input
??}
^
|