5 Replies - 27174 Views - Last Post: 22 March 2009 - 07:27 AM Rate Topic: *---- 1 Votes

#1 shaieen  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 12
  • Joined: 25-January 09

How to add text color?(turbo c)

Post icon  Posted 20 March 2009 - 08:22 AM

Q: "Is it possible to make colored text in Turbo C? if Y, can you teach me some?"

This post has been edited by shaieen: 21 March 2009 - 05:08 AM

Is This A Good Question/Topic? 0
  • +

Replies To: How to add text color?(turbo c)

#2 Hyper  Icon User is offline

  • Banned

Reputation: 108
  • View blog
  • Posts: 2,129
  • Joined: 15-October 08

Re: How to add text color?(turbo c)

Posted 20 March 2009 - 08:27 AM

If you can use inline Assembly, you can do anything.
On a side note, here's this. (Yes, you can)
Was This Post Helpful? 0
  • +
  • -

#3 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6066
  • View blog
  • Posts: 23,526
  • Joined: 23-August 08

Re: How to add text color?(turbo c)

Posted 20 March 2009 - 11:35 AM

Title changed to reflect actual content of post.
Was This Post Helpful? 0
  • +
  • -

#4 shaieen  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 12
  • Joined: 25-January 09

Re: How to add text color?(turbo c)

Posted 21 March 2009 - 05:12 AM

View PostHyper, on 20 Mar, 2009 - 07:27 AM, said:

If you can use inline Assembly, you can do anything.
On a side note, here's this. (Yes, you can)


aw.. is this applicable to turbo c? hmmf.. i think i don't get what you mean.. (sorry, huh?)
will you rephrase your words? a big THANKS!!
Was This Post Helpful? 0
  • +
  • -

#5 Hyper  Icon User is offline

  • Banned

Reputation: 108
  • View blog
  • Posts: 2,129
  • Joined: 15-October 08

Re: How to add text color?(turbo c)

Posted 22 March 2009 - 12:08 AM

Yes (agree), you (shaieen) can (work)
Was This Post Helpful? 0
  • +
  • -

#6 shaieen  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 12
  • Joined: 25-January 09

Re: How to add text color?(turbo c)

Posted 22 March 2009 - 07:27 AM

View Postshaieen, on 20 Mar, 2009 - 07:22 AM, said:

Q: "Is it possible to make colored text in Turbo C? if Y, can you teach me some?"


Quote

A:Yes


this post is: [SOLVED]
Thanks to those who replied. I appreciate it so much.
New knowledge learned!

i found a code snippet somewhere here in dreamincode, and here it is!(thanks to the one who posted and made this!> sorry huh? i just forgot ur screen name.. i was supposed to MENTION it here.. )


/* This will work in DOS. 
//I don't know if it will work in other OS.*/

#include <stdio.h> 
#include <conio.h> 

int main ()
{
  textcolor ( YELLOW );
  cprintf ("Color Testing \n");

  return 0;
}


Was This Post Helpful? 2

Page 1 of 1