Thread: Please help me with blinking or flashing command

  1. #1
    Registered User
    Join Date
    Nov 2007

    Please help me with blinking or flashing command

    Hi I am new in this forum and also in C++. So please help me I have a question.

    My teacher told me to write a program that asks a user for input and then it blinks the input text continuously. I cant think of anything. please help.

    So far I have done this much.
    using namespace std;
    viod main()
          cout << "\n hello mates!";
       } while (1);
    Please help and yeah I have (Microsoft Visual 6 compiler)


  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Farncombe, Surrey, England
    I think if you habve a monochrome monitor, setting the right bit in the attributes would make it blink. However, that is not available on colour graphics cards that we use nowadays. So what you most likely have to do is to draw and erase the text repeatedly. You may want to ask your teacher to clarify if that is the expected way to solve the problem, or if you are supposed to do something else.

    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 26
    Last Post: 07-05-2010, 10:43 AM
  2. problem with "touch" command in c program
    By Moony in forum C Programming
    Replies: 10
    Last Post: 08-01-2006, 09:56 AM
  3. Batch file programming
    By year2038bug in forum Tech Board
    Replies: 10
    Last Post: 09-05-2005, 03:30 PM
  4. Ping problem
    By bladerunner627 in forum C++ Programming
    Replies: 12
    Last Post: 02-02-2005, 12:54 PM
  5. exe files in -c- language
    By enjoy in forum C Programming
    Replies: 6
    Last Post: 05-18-2004, 04:36 PM