0_0_29217960_16299.cpp: In function 'int comp(const void*, const void*)':
0_0_29217960_16299.cpp:17:21: error: expected ')' before 'J'
if(a->J/(a->F*1.0)J/(b->F*1.0))
^
0_0_29217960_16299.cpp: In function 'int main()':
0_0_29217960_16299.cpp:31:3: error: expected ';' before '{' token
{
^
0_0_29217960_16299.cpp:31:3: error: expected primary-expression before '{' token
0_0_29217960_16299.cpp:31:3: error: expected ')' before '{' token
0_0_29217960_16299.cpp:36:7: error: 'i' was not declared in this scope
for(i=0;i
^
0_0_29217960_16299.cpp:37:3: error: expected ';' before '{' token
{
^
0_0_29217960_16299.cpp:37:3: error: expected primary-expression before '{' token
0_0_29217960_16299.cpp:37:3: error: expected ')' before '{' token
0_0_29217960_16299.cpp:43:6: error: 'i' was not declared in this scope
if(i
^
0_0_29217960_16299.cpp:44:4: error: expected ')' before 'Sum'
Sum+=M*((test[i].J*1.0)/test[i].F);
^
|