home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c:12457 comp.sys.ibm.pc:426
- Path: sparky!uunet!usc!rpi!uwm.edu!ogicse!hsdndev!news.cs.umb.edu!cteague
- From: cteague@ra.cs.umb.edu (Charles F. Teague II)
- Newsgroups: comp.lang.c,comp.sys.ibm.pc
- Subject: Using ANSI.SYS codes from C? (Turbo)
- Message-ID: <1992Aug18.013912.12547@cs.umb.edu>
- Date: 18 Aug 92 01:39:12 GMT
- Article-I.D.: cs.1992Aug18.013912.12547
- Sender: news@cs.umb.edu (USENET News System)
- Organization: University of Massachusetts at Boston
- Lines: 17
- Nntp-Posting-Host: ra.cs.umb.edu
-
-
- Is there any way to use ANSI.SYS escape sequences from C? (TurboC++v1.0)
- I'm hoping to use this just to get a simple coloring of my text, without
- using conio.h, and staggering cprintf()s with textcolor() and/or textattr().
-
- I've tried several different output fns, and none of them seem to be able
- to do what a simple echo command in a batch file can do: change the text
- color by using ansi codes. If anyone can help me out, I'd appreciate it.
-
- Thanks,
- --
- Charles F. Teague II Net:cteague@cs.umb.edu Real:33 Sidney Ave, Lynn MA 01902
- +------------------------------------+-----------------------+----------------+
- | Computers are so powerful because | "Don't do what I SAY, | 'lush' CS 1993 |
- | they do whatever you tell them to. | do what I mean!!!!" | TKE-zm sn 603 |
- +------------------------------------+-----------------------+----------------+
- Hi! I'm a replicating .sig virus! Join in the fun and copy me into yours!
-