0_0_26560946_21802.cpp:4:5: error: expected primary-expression before 'int'
int a,b;
^
0_0_26560946_21802.cpp:4:5: error: expected '}' before 'int'
0_0_26560946_21802.cpp:4:5: error: expected ',' or ';' before 'int'
0_0_26560946_21802.cpp:5:10: error: expected constructor, destructor, or type conversion before '(' token
scanf("%d%d",&a,&b);
^
0_0_26560946_21802.cpp:6:11: error: expected constructor, destructor, or type conversion before '(' token
printf("%d\n",a+b);
^
0_0_26560946_21802.cpp:7:5: error: expected unqualified-id before 'return'
return 0;
^
0_0_26560946_21802.cpp:8:1: error: expected declaration before '}' token
}
^
|