How to Display C++ output as Page wise

Hi Expertz;

I am displaying a line by n number of times using loop.
So if the number of lines exceeds the size of the screen then How can i make it display page wise.

Help plzz.
depends on how you are outputting... are you doing something like:

std::cout << n << std::endl;

you could just replace std::endl with a space " "... are you trying to format also?
Topic archived. No new replies allowed.