By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,750 Members | 1,221 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,750 IT Pros & Developers. It's quick & easy.

Blinking Output

P: 105
Hi all,

I am just trying to display the elemnts that I have read from a data file and used a for loop like this

for (unsigned long int i=0;i<=r_size;i++)
cout<<"data is---"<<imgdata[i*sizeof(float)]<<endl;

imgdata is just an array of float
I am getting the output but the screen is like kind of blinking.I am not able to see the output.Could anyone please help me with that.Thanks in advance.
Mar 13 '07 #1
Share this Question
Share on Google+
3 Replies

Expert 2.5K+
P: 3,652
Try pressing the Pause button shortly after you execute the program to freeze the program and see what the output is. You can continue on by pressing any key.
Mar 13 '07 #2

Expert 100+
P: 1,510
you are probably outputing non printing characters to the screen - some of which can control blink, etc
Mar 13 '07 #3

P: 105
Thank you.Actualy there are many elements to print out.I thought it was some buffer prob.But its not.Its just because of too many elements,
Mar 13 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.