www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/09/06/12:17:44

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <19990906155757.11576.qmail@hotmail.com>
X-Originating-IP: [209.156.37.60]
From: "Jason Meade" <marlaque AT hotmail DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Sample "clear" program
Date: Mon, 06 Sep 1999 08:57:57 PDT
Mime-Version: 1.0

Here's a sample "clear" command written in c++ for Cygnus. Paste this into a 
text file called "clear.cpp". Type "c++ clear.cpp -o clear.exe" at the 
BASH-EXE.2.02$ prompt. After compiling put clear.exe in the
/cygnus/cygwin-b20/H-i586-cygwin32/bin directory. Now when you type "clear" 
the screen will clear and return your prompt for you automatically. 
Unfortunately the prompt will return towards the bottom of the BASH window. 
O well, haven't solved that one yet.

-Jason Meade
--------------------------------------------------------------
#include <iostream.h>

int main()
{

   int counter = 0;

   while ( counter <=24 ) {
      cout << "  " << endl;
      counter++;
   }

   return 0;
}

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019