:使用C-free遇到的有关问题

【求助】:使用C-free遇到的问题
我是个新手,恳请大侠给我解答一下啊、、、、
程序如下:
#include<stdio.h>
#define MAX 75
int main(void)
{
int count = MAX + 1;

while (--count > 0) {
printf("%d bottles of spring water on the wall,"
"%d bottles of spring water!\n",count,count);
printf("Take one down and pass it around, \n");
printf("%d bottles of spring water!\n\n",count - 1);  
}
return 0;
}

问题:应该是从100开始往下显示,可我那只是从74开始显示,我把MAX改成74以下的值就能都显示了、、、这是什么情况?
  PS: (程序应该是没错的)

------解决方案--------------------
右键点击CMD窗口上方选择属性-》布局-》屏幕缓冲区大小-》高度改为400-》确定-》选择保存属性。然后再运行程序看看
------解决方案--------------------
你的程序没有问题,显示也没有问题。当MAX = 100时,的确显示了100个,但是你的屏幕默认显示为300的高度,所以上面显示的你就看不到了,被覆盖了。
可以设置一下显示窗口的属性(右击窗口的标题栏,选属性),把高度调到500即可。
用下面的程序即可了解覆盖问题。

C/C++ code


#include<stdio.h>

#define MAX 100

int main(void)
{
    int count = MAX + 1;

    while (--count > 0) {
        printf("%d bottles of spring water on the wall,"
            "%d bottles of spring water!\n",MAX-count,MAX-count);
        printf("Take one down and pass it around, \n");
        printf("%d bottles of spring water!\n\n",MAX-count - 1);   
    }
    return 0;

}