🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #6927

Re: Changing the color of dos text output.

#6927
From: Thomas Murphy
Date: Sat, 01 Jun 1991 16:24
19 lines
1176 bytes
In article <1991May31.191343.4472@usenet.ins.cwru.edu> dab6@po.CWRU.Edu (Douglas A. Bell) writes:
>
>Does any one know of a way to change the color of standard output
>via C or assemble?
>
I use turbo C and there is a function cprintf stc stc in conio.h with
a 
complete set of routines to set background color, textcolor,
textwindows etc.  I have the wrong book home or I would check what ms
does but I would imagine you will find the same type of things with
most commercial compilers.




-------------------------------------------------------------------------------


      Murph                     "Government that governs the least
Technical Details
Message-ID: <1991Jun1.102455.16266@hellgate.utah.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!agate!dog.ee.lbl.gov!hellgate.utah.edu!peruvian.utah.edu!tmurphy
References: <1991May31.191343.4472@usenet.ins.cwru.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!agate!dog.ee.lbl.gov!hellgate.utah.edu!peruvian.utah.edu!tmurphy
From: tmurphy%peruvian.utah.edu@cs.utah.edu (Thomas Murphy)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Changing the color of dos text output.
Message-ID: <1991Jun1.102455.16266@hellgate.utah.edu>
Date: 1 Jun 91 16:24:55 GMT
References: <1991May31.191343.4472@usenet.ins.cwru.edu>
Organization: University of Utah CS Dept., Salt Lake City
Lines: 19