The error is shown at the second code. It is shown that "Error 2 error C2350: 'DequeArray<elem>::front' is not a static member c:\___________\dequearray.h 88
"
and
"Error 1 error C2063: 'DequeArray<elem>::front' : not a function c:\___________+\dequearray.h 88
"
They are both in the same header file.
It is easier to implement function in the class itself. But I would like to know how to implement outside the class.
Thank you very much :))
**Moreover, this is quite unrelated but I would like to know that...
is there any recommended books for programming contest?