Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的程序的输出非常大,比如我运行for循环100次,每次显示5-6行。问题是,当我运行输出时,它只显示最后 20-25 个结果。是否可以一次获得所有结果?
这是控制台应用程序还是 GUI 应用程序?如果是控制台,您可以使屏幕缓冲区大小更大 - 从左上角的控制台图标中选择属性菜单项,然后转到布局选项卡,将屏幕缓冲区大小中的高度更改为更大的值。