4 Replies - 352 Views - Last Post: 13 May 2014 - 11:46 PM Rate Topic: -----

#1 BogdanCov  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 25
  • Joined: 25-March 14

Color console change in C++.

Posted 13 May 2014 - 02:08 PM

Hi. I try to change the text color of console in C++. I know some commands like .
system("color fg");

But I want to change the color of only one line of console. Is this possible? Would someone help me, please?
Is This A Good Question/Topic? 0
  • +

Replies To: Color console change in C++.

#2 snoopy11  Icon User is offline

  • Engineering ● Software
  • member icon

Reputation: 768
  • View blog
  • Posts: 2,234
  • Joined: 20-March 10

Re: Color console change in C++.

Posted 13 May 2014 - 02:58 PM

Yes but it is OS specific so

which OS are you using ?
Was This Post Helpful? 0
  • +
  • -

#3 BogdanCov  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 25
  • Joined: 25-March 14

Re: Color console change in C++.

Posted 13 May 2014 - 11:04 PM

View Postsnoopy11, on 13 May 2014 - 02:58 PM, said:

Yes but it is OS specific so

which OS are you using ?

oh, yes, i forget it, sorry. Windows.
Was This Post Helpful? 0
  • +
  • -

#4 snoopy11  Icon User is offline

  • Engineering ● Software
  • member icon

Reputation: 768
  • View blog
  • Posts: 2,234
  • Joined: 20-March 10

Re: Color console change in C++.

Posted 13 May 2014 - 11:29 PM

Right, look at post#2 in this conversation.

http://www.dreaminco...ackground-in-c/


Regards

Snoopy.
Was This Post Helpful? 0
  • +
  • -

#5 BogdanCov  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 25
  • Joined: 25-March 14

Re: Color console change in C++.

Posted 13 May 2014 - 11:46 PM

Thanks, Snoopy.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1