🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #1252

clear()

#1252
From: Antero Dahlstr|m
Date: Sun, 13 Dec 1992 12:33
33 lines
1369 bytes
Your message,

Organization: Project GNU, Free Software Foundation,
           675 Mass. Ave., Cambridge, MA  02139, USA   +1 (617) 876-3296
Subject: b[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C
Status: R

Please resubmit this message with a clear Subject: line
and some real text to bug-g++@prep.ai.mit.edu !!

thanx -len

and the first one of mine;

   Kutsuin clear() funktiota ja k{{nt{j{ pyysi l{hett{m{{n t{m{n ilmoituksen.
   andahlst@utu.fi.
_____________________

I was calling standard clear function

   Screen bufScreen(1,22,'*');
   bufScreen.clear(' ');

I think there is no one. it didn't function. Now I have defined 
   
   Screen& Screen::clear(char bkground) {
                   //reset the cursor and clear the screen
                   char* p=cursor=screen;
                   while (*p) *p++ =bkground;
                   return *this;  //return invokin objekt
                                     }

and it is functioning ok. andahlst@utu.fi
Technical Details
Message-ID: <92Dec13.103329eet.10428-2@utu.fi>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!utu.fi!andahlst

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!utu.fi!andahlst
From: andahlst@utu.fi (Antero Dahlstr|m)
Subject: clear()
Message-ID: <92Dec13.103329eet.10428-2@utu.fi>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sun, 13 Dec 1992 12:33:21 GMT
Approved: bug-g++@prep.ai.mit.edu
Lines: 35