🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer.misc
Article #303

Re: v_clear sample code anyone? None in docs for gcc/emx

#303
From: Cindy Ross
Date: Mon, 16 Mar 1998 00:00
18 lines
1241 bytes
In <voFHBstkGWlw-pn2-FLpwxF4ppdmw@localhost>, tes01_nospam_@globalnet.co.uk (Martin & Alethea) writes:
>Using gcc 2.7.2 under emx in os/2
>
>I'm a novice still so no graphics involved I just have a text mode
>program where I want to clear the screen.  From the docs I assume
<clip>

A simple (but not the most efficient) way to clear the screen is:

#include <stdlib.h>
..
system("cls");

-------------------------------------------------------------
Cindy Ross                                 rossc@us.ibm.com
(These opinions are just mine, I only represent myself, etc.)
-------------------------------------------------------------
Technical Details
Message-ID: <6ejcv2$27v8$1@rtpnews.raleigh.ibm.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <voFHBstkGWlw-pn2-FLpwxF4ppdmw@localhost>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,622fe456c361dfe6
X-Google-Attributes: gid11318c,public
X-Google-Thread: 11307a,622fe456c361dfe6
X-Google-Attributes: gid11307a,public
From: rossc@us.ibm.com (Cindy Ross)
Subject: Re: v_clear sample code anyone? None in docs for gcc/emx
Date: 1998/03/16
Message-ID: <6ejcv2$27v8$1@rtpnews.raleigh.ibm.com>
X-Deja-AN: 334546858
References: <voFHBstkGWlw-pn2-FLpwxF4ppdmw@localhost>
Organization: IBM;  TR2_Xagent=RTP
Reply-To: rossc@us.ibm.com (Cindy Ross)
Newsgroups: comp.os.os2.programmer.misc,gnu.gcc.help