When I run this code, the number at the top of the output window is 99701. Why don\'t I get to see all the way through 1? I actually see all the numbers getting outputted, b
300 seems to be your default console buffer size. This is a Windows setting and it is not related to your application.
You can change the console buffer size by creating a shortcut to the executable. Then right click on the shortcut and select Properties. Go in the Options tab and change the buffer size.
Seem that I didn't check that feature in a long time, but it seem to be modifiable now. See Alfred Myers answer