Thursday, October 14, 2010

How to open Turbo C++ compiler in Full Screen

Ok.. There are many great C,C++ compilers available namely.. Dev-C++, Visual C++ etc. but some might want to stick to the classic Dos based Turbo C++ compiler.. but it won't run in 'FULLSCREEN MODE' in Windows Vista/7.. so here's a tip & a trick to make it run in fullscreen mode..!

1] First Tip..
DOSBox is a program for running Dos oriented programs in Windows. It works as a virtal PC..!
DOSBox is freely available from the link below:-

- DOWNLOAD

- After installing DOSBox, you will have to mount the TC(Turbo C++) folder by using the command
mount c folder-path

- In my case the folder path was 'c:\TC' eg:- mount c c:\TC

- Now the c: in DOSBox has it contents as those in the TC folder..!

- You can run the Turbo C++ application by opening the TC file. eg:- c:\TC\BIN\TC

Problem: Unfortunately, DOSBox application is closed by pressing Ctrl+F9.. the same key combination used to 'Run' the C++ program so do avoid this shortcut and run it from the menu bar instead..!

2] Second Trick..

- Right-Click on Computer and goto its properties.

- Goto Device manager.

- Right-Click on ur Display Adapter(in my case 'ATI RADEON XPRESS 200 Series') and disable it.

- Now if you open the Turbo C++ compiler, it will run in fullscreen mode.

- Do Enable your Display Adapter after finishing your Turbo C++ work..!

Problem: In some laptops the screen just turns off after Disabling the display driver..
Restarting the laptop works here..!

*Using DOSBox is recommended by me instead of disabling the display driver.

No comments:

Post a Comment