/in/foo.cc:71:10: error: 'int& LinkList::operator[](int)' cannot be overloaded
int &operator[] (int idx)
^~~~~~~~
/in/foo.cc:64:7: error: with 'int& LinkList::operator[](int)'
int &operator[](int index)
^~~~~~~~
/in/foo.cc: In constructor 'LinkList::LinkList(int)':
/in/foo.cc:27:19: error: class 'LinkList' does not have any field named 'head'
LinkList(int):head(NULL),Count(0)
^~~~
/in/foo.cc: In member function 'int& LinkList::operator[](int)':
/in/foo.cc:73:19: error: 'head' was not declared in this scope
Node *p = head;
^~~~
/in/foo.cc: In destructor 'LinkList::~LinkList()':
/in/foo.cc:82:16: error: 'head' was not declared in this scope
while (head)
^~~~
/in/foo.cc: In member function 'void LinkList::deleteNode()':
/in/foo.cc:89:19: error: 'head' was not declared in this scope
Node *p = head;
^~~~