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.
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.
Comment