0_0_26594504_19243.cpp:2:9: error: expected unqualified-id before 'for'
for (i = 0; i < n; i++){
^
0_0_26594504_19243.cpp:2:21: error: 'i' does not name a type
for (i = 0; i < n; i++){
^
0_0_26594504_19243.cpp:2:28: error: 'i' does not name a type
for (i = 0; i < n; i++){
^
0_0_26594504_19243.cpp:13:9: error: 'j' does not name a type
j = -1;
^
0_0_26594504_19243.cpp:14:9: error: 'cout' does not name a type
cout << "Top sticks: ";
^
0_0_26594504_19243.cpp:15:9: error: expected unqualified-id before 'for'
for (i = 0; i < n; i++){
^
0_0_26594504_19243.cpp:15:21: error: 'i' does not name a type
for (i = 0; i < n; i++){
^
0_0_26594504_19243.cpp:15:28: error: 'i' does not name a type
for (i = 0; i < n; i++){
^
0_0_26594504_19243.cpp:25:9: error: 'cout' does not name a type
cout << j + 1 << "." << endl;
^
0_0_26594504_19243.cpp:26:5: error: expected declaration before '}' token
}
^
|