i got this error:
can anyone help to fix this ?Code:cplusplus_dellicult.cpp:23: error: ‘((queue*)this)->queue::qput’ does not have class type cplusplus_dellicult.cpp:26: error: ‘((queue*)this)->queue::qput’ does not have class type
thanks..
Code:class queue{ private: string buf[10]; int *ptrfront; int *ptrback; public: void init(); void qput(); void qget(); void print(); }; void queue::init(){ int i; for(i=0; i<10; i++){ qput.buf[i] = NULL; } for(i=0; i<10; i++){ qput.buf[i] = NULL; } }