I have the code runnig and it is all right. but

within my loop I have it set from 0- 100 but my cout << only shows 59 - 100. I have tested the code with other numbers such as 20 -50 and 0 -38 .... and I see that al the data is there butI dont know why it does what it is doing.

Without even looking at your code, I will make a wild stab in the dark and say that you are using a Windows console to run your program?

If you are, right-click the icon on the console's title bar and select "properties" from the drop-down menu. Click the "Layout" tab and play with the items in the "Screen Buffer Size" panel until you are content. My own console windows are set to have a buffer Height of 300 lines. Once done, click "OK" and click "Modify shortcut that started this window", and hit "OK" once more.

If that wasn't the problem... let me know.

commented: Good guess >.< +3

THANK YOU SIR
That worked Great I put it to 500 and I am good now '

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.