hi to all

Jul 12, 2011 at 11:02am
please help me . I want to know how to make a blinking character in c++ . tnx
Jul 12, 2011 at 11:16am
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 Jul 12, 2011 at 11:16am
Jul 12, 2011 at 11:17am
This is not what console is intended for. Thus it's rather complicated. Are you sure you need this?
Jul 12, 2011 at 11:19am
ah . tnx :D
Jul 12, 2011 at 11:29am
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
Jul 12, 2011 at 11:32am
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.
Jul 12, 2011 at 12:04pm
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 Jul 12, 2011 at 12:04pm
Jul 12, 2011 at 4:26pm
@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.