For Loop Problem

After I run this code I want to scroll to the top of the console window to see the smaller numbers that were printed, 0, 1, 2, 3, 4, 5,.... The problem is the higher I have the loop count to the less beginning numbers I am able to view. Is the console window running out of space? Does anyone know how to fix this so I can see all the numbers going into the millions? I know this is a weird question but I was just wondering.

Thanks,
Nick

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <iostream>

using namespace std;

int main(){

	cout << "start" << endl;
	for( int c = 0; c < 1000; c++){
		
		cout << c << endl;
			
			
				
		
	}	


	system("pause");
	return 0;
}
closed account (zb0S216C)
A console window has a limit text buffer size. In other words, the console window can only support so many characters. I can't think of a way to change it, but maybe posting this in the Windows forum to the left will give you some more insight.

Wazzak
Topic archived. No new replies allowed.