foo.cc:15:2: error: extra qualification 'LinkList::' on member 'LinkList' [-fpermissive]
15 | LinkList::LinkList(int *sp, int *ep)
| ^~~~~~~~
foo.cc:70:8: error: declaration of 'operater' as array of functions
70 | int & operater[](int index)
| ^~~~~~~~
foo.cc:76:2: error: expected ';' at end of member declaration
76 | }
| ^
| ;
foo.cc: In member function 'void LinkList::pop_front()':
foo.cc:56:7: warning: unused variable 'x' [-Wunused-variable]
56 | int x = head->data;
| ^
foo.cc: In function 'int main()':
foo.cc:96:6: error: 'i' was not declared in this scope
96 | for(i=0; i<L2.Count; i++) L2[i]=L2[i]+1;
| ^
foo.cc:98:6: error: 'i' was not declared in this scope
98 | for(i=0; i<L1.Count; i++) L1Sum+=L1[i];
| ^
foo.cc:100:6: error: 'i' was not declared in this scope
100 | for(i=0; i<L2.Count; i++) L2Sum+=L2[i];
| ^
[Hydro](https://hydro.ac)提供评测服务