Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 132,376 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,146 people online right now. Registration is fast and FREE... Join Now!




how to blink and change font color as an output

 
Reply to this topicStart new topic

how to blink and change font color as an output, need help!!!!c++

MasterWafu
post 18 Sep, 2006 - 06:37 PM
Post #1


New D.I.C Head

*
Joined: 18 Sep, 2006
Posts: 30


My Contributions


how to blink and change font color as an output biggrin.gif biggrin.gif

This post has been edited by Dark_Nexus: 19 Sep, 2006 - 07:05 AM
User is offlineProfile CardPM

Go to the top of the page

Xing
post 18 Sep, 2006 - 06:58 PM
Post #2


D.I.C Addict

Group Icon
Joined: 22 Jul, 2006
Posts: 723



Thanked 2 times

Dream Kudos: 1575
My Contributions


Compiler and OS?
User is offlineProfile CardPM

Go to the top of the page

MasterWafu
post 18 Sep, 2006 - 07:05 PM
Post #3


New D.I.C Head

*
Joined: 18 Sep, 2006
Posts: 30


My Contributions


dev c++ from a windows platform or if it will be possible with linux its more ok!! biggrin.gif

This post has been edited by Dark_Nexus: 19 Sep, 2006 - 07:06 AM
User is offlineProfile CardPM

Go to the top of the page

Xing
post 18 Sep, 2006 - 07:29 PM
Post #4


D.I.C Addict

Group Icon
Joined: 22 Jul, 2006
Posts: 723



Thanked 2 times

Dream Kudos: 1575
My Contributions


Font Color can be changed through SetConsoleTextAttribute

This post has been edited by Xing: 18 Sep, 2006 - 07:30 PM
User is offlineProfile CardPM

Go to the top of the page

MasterWafu
post 18 Sep, 2006 - 07:31 PM
Post #5


New D.I.C Head

*
Joined: 18 Sep, 2006
Posts: 30


My Contributions


sorry just new with this language...

what it is a lib or what???
User is offlineProfile CardPM

Go to the top of the page

Xing
post 18 Sep, 2006 - 07:34 PM
Post #6


D.I.C Addict

Group Icon
Joined: 22 Jul, 2006
Posts: 723



Thanked 2 times

Dream Kudos: 1575
My Contributions


It's a WinAPI function. It's really very easy to change the color of text but I can't give you code just like that. Against forum rules. Show your attempt, everyone will try to help you out.

This post has been edited by Xing: 18 Sep, 2006 - 07:34 PM
User is offlineProfile CardPM

Go to the top of the page

MasterWafu
post 18 Sep, 2006 - 07:37 PM
Post #7


New D.I.C Head

*
Joined: 18 Sep, 2006
Posts: 30


My Contributions


ok thanks... ill try this back at home...
User is offlineProfile CardPM

Go to the top of the page

born2c0de
post 19 Sep, 2006 - 06:37 AM
Post #8


printf("I'm a %XR",195936478);

Group Icon
Joined: 26 Nov, 2004
Posts: 3,905



Thanked 34 times

Dream Kudos: 2800

Expert In: 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions


  • textattr
  • textbackground
  • textcolor
  • textmode
Give these functions defined in dos.h a try.
User is offlineProfile CardPM

Go to the top of the page

Xing
post 19 Sep, 2006 - 07:28 AM
Post #9


D.I.C Addict

Group Icon
Joined: 22 Jul, 2006
Posts: 723



Thanked 2 times

Dream Kudos: 1575
My Contributions


QUOTE(born2c0de @ 19 Sep, 2006 - 08:07 PM) *
  • textattr
  • textbackground
  • textcolor
  • textmode
Give these functions defined in dos.h a try.


DOS is dead tongue.gif
User is offlineProfile CardPM

Go to the top of the page

Amadeus
post 19 Sep, 2006 - 08:11 AM
Post #10


g++ -o drink whiskey.cpp

Group Icon
Joined: 12 Jul, 2002
Posts: 12,171



Thanked 33 times

Dream Kudos: 25
My Contributions


LOL...Xing, I actually saw a t-shirt with that on it a couple of weeks ago...this made me remember...I may get one! smile.gif
User is online!Profile CardPM

Go to the top of the page

MasterWafu
post 19 Sep, 2006 - 03:46 PM
Post #11


New D.I.C Head

*
Joined: 18 Sep, 2006
Posts: 30


My Contributions


biggrin.gif guys ill try all....you say dont worry biggrin.gif biggrin.gif
User is offlineProfile CardPM

Go to the top of the page

Reply to this topicStart new topic
Time is now: 11/22/08 06:06AM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month