devxlogo

A problem with a class Screen

A problem with a class Screen

Question:
I found on the Web a simple class Screen as follows:

 /*———————————————— * s c r e e n . h * * A class to manage an ANSI text screen. Allows moving to * an x, y location and clearing the screen. *  * Copyright 1996 by Interface Technologies, Inc.  * All Rights Reserved. *———————————————-  */#ifndef __SCREEN_H#define __SCREEN_H#include class Screen{public:    Screen( )    {    }    void GotoXY( int x, int y )    {        cout 

devx-admin

Share the Post: