How to make output screen in DOSBox turbo c++ scrollable?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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.???

6th Jun 2017, 6:31 AM
Harsh
Harsh - avatar
6 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...
6th Jun 2017, 6:44 AM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 6
Is their any possible to make screen scrollable in turbo Dosbox????
6th Jun 2017, 6:58 AM
Harsh
Harsh - avatar
+ 4
Thank you @kinshuk vasisht
6th Jun 2017, 7:02 AM
Harsh
Harsh - avatar
+ 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...
6th Jun 2017, 6:46 AM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 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...
6th Jun 2017, 6:59 AM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 1
@Harsh Jaiswal Welcome...
6th Jun 2017, 7:05 AM
Kinshuk Vasisht
Kinshuk Vasisht - avatar