OS2 World Community Forum
OS/2, ArcaOS and eComStation - Warp Community
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
OS2World.com Forum is back !!!
Remember to visit OS2World at:
http://www.os2world.com
Home
Help
Search
Login
Register
OS2 World Community Forum
»
OS/2, eCS & ArcaOS - Technical
»
Programming
»
Printf and ansi color codes
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Printf and ansi color codes (Read 6799 times)
arr531
Guest
Printf and ansi color codes
«
on:
February 03, 2017, 09:51:08 pm »
Just a simple question guys. Using open watcom 1.9 and wondering if it supports using ansi color codes with printf to change text colors? I have never done it using printf or is there a better way than printf to do it in open watcom? Thanks.
Logged
Dave Yeo
Hero Member
Posts: 5355
Karma: +127/-1
Re: Printf and ansi color codes
«
Reply #1 on:
February 03, 2017, 11:40:20 pm »
Don't see why it wouldn't as it seems to work with GCC.
Logged
Neil Waldhauer
Hero Member
Posts: 1121
Karma: +30/-0
Re: Printf and ansi color codes
«
Reply #2 on:
February 04, 2017, 01:40:46 am »
Works in old C++ Set, too.
Logged
Expert consulting for ArcaOS, OS/2 and eComStation
http://www.blondeguy.com
arr531
Guest
Re: Printf and ansi color codes
«
Reply #3 on:
February 04, 2017, 02:01:42 am »
After doing a little more research and fiddling with the syntax - yep it works. Thanks guys.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
OS2 World Community Forum
»
OS/2, eCS & ArcaOS - Technical
»
Programming
»
Printf and ansi color codes