Sample "clear" program
Jason Meade
marlaque@hotmail.com
Mon Sep 6 09:16:00 GMT 1999
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@sourceware.cygnus.com
More information about the Cygwin
mailing list