| www.delorie.com/djgpp/mail-archives/browse.cgi | search |
| From: | "Michael Stewart" <mike AT reggin DOT freeserve DOT co DOT uk> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: working in text mode in djgpp |
| Date: | Sun, 7 Feb 1999 11:11:59 -0000 |
| Organization: | Customer of Planet Online |
| Lines: | 21 |
| Message-ID: | <79jsmr$rn1$1@news8.svr.pol.co.uk> |
| References: | <79jg3r$cve$1 AT perki DOT connect DOT com DOT au> |
| NNTP-Posting-Host: | modem-101.viramune.dialup.pol.co.uk |
| X-Trace: | news8.svr.pol.co.uk 918386203 28385 62.136.93.229 (7 Feb 1999 11:16:43 GMT) |
| NNTP-Posting-Date: | 7 Feb 1999 11:16:43 GMT |
| X-Complaints-To: | abuse AT theplanet DOT net |
| X-Newsreader: | Microsoft Outlook Express 4.72.3110.5 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Ashley Smith wrote in message <79jg3r$cve$1 AT perki DOT connect DOT com DOT au>... >Just wondering if djgpp has a library for doing things like clearing the >screen in text mode, and changing the color of the text? If djgpp doesn't >have these, can anyone suggest a library that does? (I looked at allegro >but it seems to be more graphics based?) > >Any help appreciated. > >-- >Ashley Smith John Scott Kjellman answered your question. To quote: believe clrscr() (in conio.h I think) will clear the screen. You can use textattr(), also in conio.h, for text attributes. Either way, just look in the info files in the conio section for a complete list.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |