+ 2
How to make output screen in DOSBox turbo c++ scrollable??
when i am running my code in Turbo c++. The ouptut screen which i get is not scrollable.... .. .... How to make it scrollable.???
7 Answers
0
It covers the entire window, then how can it be that your output is still bigger?
Try pressing Alt+ Enter to maximize.
Or press alt enter after maximizing, then right click on the left corner and click properties, and change buffer's size in size tab to a size larger than the window size. Youll get the scroll bars..
Even that size isnt enough?
There are 2 choices to solve your problem then:
0) Split your program's output into parts and access each part using goto for labels assigned to each part and clear the screen each time you go to a new part... //Seems to do the task, atleast...
1) Change your compiler to Code::Blocks or Visual Studio, and add this code:
#include<windows.h>
main()
COORD cs = {100,100};
SetConsoleScreenBufferSize(&cs);
Let me know if the problem still persists...
+ 6
Is their any possible to make screen scrollable in turbo Dosbox????
+ 4
Thank you
@kinshuk vasisht
+ 2
The main problem is that Turbo C++ doesn't have support for scrolling, and so the output cannot be seen once new things are printed and the number of lines exceed the console width...
+ 2
@Harsh Jaiswal
In Turbo C++, I don't think so...
I guess you may use the option 0) then for the time being...
If you need a code, let me know...
+ 1
@Harsh Jaiswal
Welcome...