#ifndef LcdFace_SEEN #define LcdFace_SEEN /////// File LcdFace.h /////// #include #include "CalcFace.h" #include "CalcWindow.h" class LcdFace : public CalcFace { public: LcdFace( const int digs, // calculator precision const char* k // operation keys recognized ); void show_number(double number); // virtual void show_error() // virtual { cw->show_op('E'); } void show_str(char* str) // virtual { cw->show_str(str); } void show_op(char op) // virtual { cw->show_op(op); } ~LcdFace(); protected: CalcWindow* cw; void build_number(char c, int& i); // virtual int inchar() { return(cw->Getch()); } }; #endif