hi to all

please help me . I want to know how to make a blinking character in c++ . tnx
C++ has no inherent concept of blinking characters (or even a display, or a keyboard). This is dependent on your hardware and on the libraries available on your system.
Last edited on
This is not what console is intended for. Thus it's rather complicated. Are you sure you need this?
ah . tnx :D
sir i have question again . how can i clearscreen in c++

like in turbo c ;

it only use - clrscr();

so what should i use in c++ ?? tnx
1
2
3
4
5
6
int x=0;
while (x<100)
{
  std::cout << std::endl;
  ++x;
}


It's ugly and clumsy, but portable. I recommend you don't do it, though - if you want fine control over the display, stop using the console and move to graphics.
If you want to do abuse console, look into functions your OS APIs provide. If you're using windows, see http://msdn.microsoft.com/en-us/library/ms682073(v=vs.85).aspx
Last edited on
@kirvy please help me . I want to know how to make a blinking character in c++ . tnx

Why c++? there other languages that are far better at handling this, try java or c#
Topic archived. No new replies allowed.