DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C++ (http://www.daniweb.com/forums/forum8.html)
-   -   flashing characters (without clearing the screen) (http://www.daniweb.com/forums/thread158705.html)

maxicube Nov 21st, 2008 12:12 am
flashing characters (without clearing the screen)
 
OK, I'm making a backup application and once the backup is complete, I want it to flash
FINISHED!!!! - in different colours - any help at all would be appreciated, thanks - MaxICube

vmanes Nov 21st, 2008 1:52 am
Re: flashing characters (without clearing the screen)
 
Check out this sample

WaltP Nov 21st, 2008 2:41 am
Re: flashing characters (without clearing the screen)
 
I wouldn't do it. Flashing a message in different colors is one of the most obnoxious things you can do to a user IMO.

vmanes Nov 21st, 2008 3:19 am
Re: flashing characters (without clearing the screen)
 
Quote:

Originally Posted by WaltP (Post 741199)
I wouldn't do it. Flashing a message in different colors is one of the most obnoxious things you can do to a user IMO.

Right up there with websites that play music, and don't put an obvious off button at the top.

maxicube Nov 21st, 2008 5:29 am
Re: flashing characters (without clearing the screen)
 
oh well its at the end, so it distracts you from other work to press ok, (like an ad)
and that sample didnt realy compile for me (im using code::blocks)

C:\Users\Maxicube\Desktop\c++\winsock\main.cpp||In function `void textcolor(int, int, int)':|
C:\Users\Maxicube\Desktop\c++\winsock\main.cpp|34|warning: left-hand operand of comma has no effect|
C:\Users\Maxicube\Desktop\c++\winsock\main.cpp|34|warning: right-hand operand of comma has no effect|
C:\Users\Maxicube\Desktop\c++\winsock\main.cpp|34|warning: right-hand operand of comma has no effect|
C:\Users\Maxicube\Desktop\c++\winsock\main.cpp|34|warning: right-hand operand of comma has no effect|
C:\Users\Maxicube\Desktop\c++\winsock\main.cpp|34|warning: right-hand operand of comma has no effect|
C:\Users\Maxicube\Desktop\c++\winsock\main.cpp|35|warning: right-hand operand of comma has no effect|
||=== Build finished: 0 errors, 6 warnings ===|

well it did compile but...
this is all that pops up:
40%sIn color
40%s
Process returned 0 (0x0)  execution time : 0.047 s
Press any key to continue.

-- EDIT i should look further down the page next time --- SOLVED!!!!

vmanes Nov 21st, 2008 9:32 am
Re: flashing characters (without clearing the screen)
 
Quote:

-- EDIT i should look further down the page next time --- SOLVED!!!!
Ooops, my bad - I should have pointed out the solution was lower on the page.

maxicube Nov 21st, 2008 9:57 am
Re: flashing characters (without clearing the screen)
 
no probs dude, it works fantastically well +rep


All times are GMT -4. The time now is 12:50 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC