944,218 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 16037
  • C++ RSS
You are currently viewing page 1 of this multi-page discussion thread
Oct 27th, 2005
-1

blink a text??

Expand Post »
Hello everyone,

Just wanted to know how can i blink a text in C/C++. Should use any graphics function. And i'm supposed to use a TC 3.0 :rolleyes:
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster
stackOverflow is offline Offline
116 posts
since Dec 2004
Oct 27th, 2005
-1

Re: blink a text??

Blinking text in DOS, compiled with Turbo C
C++ Syntax (Toggle Plain Text)
  1. #include <conio.h>
  2. #include <stdio.h>
  3. int main()
  4. {
  5. int color;
  6. textattr(128 + 10);
  7. cprintf("This is blinking text\n");
  8. return 0;
  9. }
SpS
Reputation Points: 70
Solved Threads: 32
Posting Pro
SpS is offline Offline
598 posts
since Aug 2005
Oct 27th, 2005
0

Re: blink a text??

Thanks a lot for the help, it works. But i was just wondering if the same can be done in graphical mode using graphics.h. Any help will be appreciated. Thanks.
Reputation Points: 10
Solved Threads: 0
Junior Poster
stackOverflow is offline Offline
116 posts
since Dec 2004
Oct 28th, 2005
0

Re: blink a text??

Quote originally posted by sunnypalsingh ...
Blinking text in DOS, compiled with Turbo C
C++ Syntax (Toggle Plain Text)
  1. #include <conio.h>
  2. #include <stdio.h>
  3. int main()
  4. {
  5. int color;
  6. textattr(128 + 10);
  7. cprintf("This is blinking text\n");
  8. return 0;
  9. }
Nice copy from the web
Reputation Points: 113
Solved Threads: 3
Posting Whiz
Asif_NSU is offline Offline
353 posts
since Apr 2004
Oct 28th, 2005
0

Re: blink a text??

So...
SpS
Reputation Points: 70
Solved Threads: 32
Posting Pro
SpS is offline Offline
598 posts
since Aug 2005
Oct 28th, 2005
0

Re: blink a text??

Quote originally posted by sunnypalsingh ...
So...
So it's a nice copy from the web

Nevermind, just ignore what I said.
Reputation Points: 113
Solved Threads: 3
Posting Whiz
Asif_NSU is offline Offline
353 posts
since Apr 2004
Oct 28th, 2005
0

Re: blink a text??

Hi again,

I just wanted to know if i can blink a text in graphics mode also .. only because i want to set the font size and change font color.

And i think thats ok if it is from the web, atleast somebody is trying to help me out!
Reputation Points: 10
Solved Threads: 0
Junior Poster
stackOverflow is offline Offline
116 posts
since Dec 2004
Mar 24th, 2010
-1
Re: blink a text??
how to blink output using turbo c++ 4.5
Reputation Points: 10
Solved Threads: 0
Newbie Poster
juliajosh is offline Offline
1 posts
since Mar 2010
Mar 24th, 2010
0
Re: blink a text??
Click to Expand / Collapse  Quote originally posted by juliajosh ...
how to blink output using turbo c++ 4.5
How about you actually read the replies in this thread?
Moderator
Featured Poster
Reputation Points: 4142
Solved Threads: 394
Industrious Poster
Nick Evan is offline Offline
4,132 posts
since Oct 2006
Aug 27th, 2010
0
Re: blink a text??
how to make a code on blink text using c++?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
danifel is offline Offline
1 posts
since Aug 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
This thread is currently closed and is not accepting any new replies.
Previous Thread in C++ Forum Timeline: c++ hardware programming
Next Thread in C++ Forum Timeline: Problem in binary file reading





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC