delorie.com/archives/browse.cgi | search |
Date: | Mon, 21 Feb 2000 06:50:27 +0500 (MVT) |
From: | Prashant TR <prashant_tr AT yahoo DOT com> |
X-Sender: | prashant_tr AT midpec DOT com |
To: | John <fubu36 AT stny DOT rr DOT com> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: cursor |
In-Reply-To: | <%RUr4.4203$Z5.112125@typhoon.nyroc.rr.com> |
Message-ID: | <Pine.LNX.4.10.10002210647510.847-100000@midpec.com> |
MIME-Version: | 1.0 |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | dj-admin AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Sun, 20 Feb 2000, John wrote: > What exactly am I supposed to type. I have tried that comand and no matter > what I do I still get a error or still see the cursor. Can someone please > just post a short 5-10 line code that gets rid of the cursor and writes > something so I can see exactly how to do it. Thanks #include <stdio.h> #include <oconio.h> int main() { printf("The cursor has vanished\n"); _setcursortype(_NOCURSOR); getch(); // Wait for a key. printf("There it comes\n"); _setcursortype(_NORMALCURSOR); getch(); return 0; }
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |