Weird Network

How to run Turbo C++ in Windows 7 in full Screen.

Posted by: AnkurG on: February 24, 2011

This tutorial will guide you how to run Turbo C++ in Windows 7 or Windows Vista (and other 64-bit Windows OS) in full screen mode.

Note: We have transferred to new domain to cover all tech stuff. Visit: www.techgoblet.com . This tutorial is available here

Command being 16-bit application doesn’t allow itself to run in full-screen mode in these Operating System. Whenever tried, one will be greeted with the image shown.

Same goes with Turbo C++ (tc.exe). It is also command originated and thus, will not let you work on full screen mode. There are some unexpected crashes which one may have to endure.

In order to aid, we will use a 32-bit emulator application called as DosBox.

  1. If you haven’t grabbed Turbo C++ setup, download it from here.
  2. Create a new folder in your C:  and rename it to ‘turbo’ [or anyone you feel like]. Reason for doing it will be mentioned as you read.
  3. Now, run the installed setup file [TC3setup.exe] and give the extraction position as
  4. Now, download the DosBox setup from here
  5. Install DosBox in your system.
  6. Now run DosBox. A command prompt type window will appear. Now note that there is a difference between the command prompt our system is equipped with and this version of command prompt. This emulator is 32-bit in contrary to native 16-bit prompt, therefore, allowing you to run it in full screen mode.
  7. In this window, we now need to mount the folder via this command:    This tells about the reason behind creating another directory while extracting TC3setup.exe. Mounting works relative to a folder, here Turbo.
  8. Work is almost done. Now, type “C:” to mount above mounted drive.
    To list the content of this mounted space, type ‘dir’
  9. Type

    >cd tc
    >cd bin

    to reach within subdirectories for tc.exe
    Now type tc and press Enter.
    Press Alt + Enter to go in Full Screen Mode.

This task may look all so tedious. But, everything can be automated in a single go.
Once you have successfully managed to run it in full screen mode, you can easily automate the process by editing configuration file. You can drop comments below in case of any problem to get through.

To run TC automatically on running DosBox:

Search for “DosBox” in start menu.
Now click on DosBox 0.74 Options

A configuration file in Notepad will be opened.

Go till the end of the document and add following lines there:

mount c c:\turbo

c:

cd tc/bin

tc

Save this file and exit from notepad.

Run DosBox again. Voilla! It will take you straight to TuboC++.

Advertisement

85 Responses to "How to run Turbo C++ in Windows 7 in full Screen."

thanks you big big

i had install dosbox…and now it works on full screen also…..bt there is 1 problem when i run my program it shows error of libraries and evn fatal error ,bt i whn i used to do same work in a small window without any help of dosbox it runs correctly….. so do tell me in dosbox why it is not running properly?????/

@Shubina; That can be solved easily. I explained that above. Turbo C requires relative path for running it. It means, that you need to mount your directory of tc in dosbox in such a way that you are able to access it as : C:\tc\bin\tc.exe .
You must have been using the format as : C:\bin\tc.exe.
So, just create another folder (say, “new”) and extract tc folder in it.
Then “mount new”
After it, it is fairly easy.
C:
cd tc\bin\
tc.exe
Solved!

when i type tc.exe , it will print unable to accept and when i made a new folder in tc that is another tc then it wiil print illegal command

my program doesn’t run when i press ctrl+F9…
plz help me to run my program…..!!!!!!!!!

Ctrl + F9 is the shortcut to terminate DosBox application. So, instead of compiling your program, it quits it.
To ‘Compile & Run’. Press Alt + R to go in Run Menu. Then, choose ‘Run’ to perform that function.
Also, Ctrl + F9 can though be assigned to perform that function for you but, you will not wish to get into it’s details. :) . Do let me know if you do.

thanks a big time!!!

sir plz tell how to use turbo directly for the beginning

NOT WORKING IN FULL SCREEN

Press Alt+Enter. It will work in Full Screen.

it says unable to change to:tc!!WT TO DO…PLZZ HELP..

Upload TC folder in C:\new
use this command in DosBox:
mount c c:\new
Then type- C:
cd tc\bin
tc

thanks a lot……….

c++ now in full screen bt i can not do any work on it its not working i mean i can not type can not use mouse bt in small window it run plz help me

great ,
i will try it
Tk domain shortener

the alt+enter is not working bro…. T_T

It will work. Try another combination of Left/Right Alt key + Enter. If it still doesn’t work, then right click the title bar of Dosbox window and go in ‘Properties’. An option for Full Screen must be present there. :)
Good Luck.

I have also the same problem. Tried both combination of Alt + Enter. The result is same, i.e., hanged full screen. Right clicking Title box of Dosbox does not give any “Properties” tag.

I am using Win 7 Pro 32 bit. Please help me with some other option.

same here bro, when i press alt+enter, blank black screen appears. help me.

You sure that TC worked normally in unmaximized screen? Make sure that you followed all the steps mentioned above correctly and try again.
Good luck. :)

turbo C is run in dosbox but it is not save program in folder

It does. Just check the relative position where you are ‘actually’ storing your programs. Good luck . :)

even i have started writing blog on this and i have written a post on how to run graphics program in Windows 7,if anybody is interested ,please visit at http://defeatc.wordpress.com/

hiii bro
i have a problem in running c++ in windows 7
after typing cd tc
it will give a message unable to open tc
plz help me

Probably you are mounting wrong folder. Do one thing. Before typing cd tc command, type dir
This command will list all directories present. Then use cd command and directory-result(which popped in by dir command) to go in that directory. :)

hello i got fullscreen mode……….but when i compile it, it shows error as “unable to open include

goto options\directories and change paths,u will able to include all header files. :)

it is aying that this program must be run under microsoft windows what should i do plz reply urgent

Thnx a lot dude……I was so irritated n it finally worked.thnx a ton again!!!!!!!!

run TC automatically on running DosBox is not working. pls help

i have error at compile the program.
error is “unable to open include file ‘gaphics.h’”
how can i solve this?
please help me………..

i think it it is graphics.h

hey thanks bro but i have one doubt while running graphics program i get an error message sayin “use egavga.bgi”

nice one!

THE Alt+Enter is working but when it goes to fullscreen mode it isnt responding ie mouse n cursor dosnt move . . . . pls HELP immdly

It may happen on the first time installation. Try restarting.

I followed the steps and installed both applications on my system ….
bt when i press alt+enter , black screen appears ……the screen is blank …so i have to get back to small window.
this happens while i run turbo c++ in DOSBOX 0.74
the title bar of small window shows ” DOSBOX 0.74 Cpu speed:max 100% cycles, Frameship 0,Program tc”
THERE COMES NO SUCH PROBLEM WHEN I RUN turbo c++ in DOSBOX 0.72
configuration of my system is
PROCESSOR :Intel(R) CORE i5 CPU
RAM :3.00 GB

please help
thanks in advance.

Is TC working perfectly fine before you press Alt+Enter? Please note that it should, otherwise, you unfollowed some step somewhere.

thank you! but how can I get out from a running/error program? and the window isn’t the same like if we run turbo c by cmd.

Try pressing Ctrl + Break to break out. Send screenshot to me at allnewankur[at]gmail[dot]com . I think it must work perfectly fine. It does.

Keyboard and mouse problem when switch to fullscreen mode.
try change
[sdl]
fullscreen=true
fulldouble=true
[dos]
keyboardlayout=us103

it worked!!! for me.

Thanks a lot for the tip. :)
I’ll try it too and will update the post if it succeeds.

i have a problem in running program using arrays
please help me

Send problematic code example.

@muskan: Hope your problem is solved now. If not, send me your query over allnewankur[at]gmail[dot]com
Good day.

in full screen i cant type or move my mouse but in window in can do every thing

I’ll try to look in this regard.

i have error at compile the program.
error is “unable to open include file ‘gaphics.h’”
how can i solve this?
please help me………..

Because the name of the file is not ‘garphics.h’; it is ‘graphics. h’.
All the best. :)
-Ankur Goel.

help me
when i run a program then dosbox is close.
how to i run??

Don’t use Ctrl+F9 to run the program. Either do it manually or use Alt Shortcut to go to menu first and navigate to Run.

my program show error that unable to open include file ‘iostream.h’
unable to open include file ‘conio.h’
my directories are c:\INCLUDE
c:\LIB
c;\BIN
please help me…….

c:\BIN

Please follow the directory pattern I specified in the post again. You must have done it wrong.

Hey, I’ve got a problem. I tried a tc program to draw a circle. The code is correct, but every time i execute the program , dosbox exits. . . Pls help . . .
System Specs:
Processor : Intel core i5
Ram: 4gb
Graphics Card : nVidia geforce GT525M . . .

GETTING THE PROBLEM CANNOT OPEN INCLUDE FILE IOSTREAM.H
CANNOT OPEN INCLUDE FILE CONIO.H
ETC
WHAT IS WRONG ..
PLEASE HELP

the full screen has appeared but when i have typed the program and when run it shows”unable to include conio.h”.if there is directories problems please tell me how to set that directories and what to write in that directories.

in dosbox program of tc, when i compile program it gives an error of unable to open include header file eventhough directories are properly set

in dosbox program of tc, when i compile program it gives an error of unable to open include header file eventhough directories are properly set

Are you sure you followed the instructions correctly? I specially specified to strictly follow the directory pattern.
Do cross-check it, it is the same problem.

If the problems still remains. Send me the screenshot at allnewankur[at]gmail[dot]com

fullscreen is working…bt program is not responding to any of my commands…while in normal window its working perfectly fine…plz help..thank you..

Well, try it again. DosBox emulator is not 100% compatible as far as I know. Your case could be the one in gray. If it still doesn’t work, give it a last shot by uninstalling and following the process again.
All the best.

Thank you very very much Mr.
tomorrow is my c exam and i need this thanx to you
may god gives all his blessings to you and some blessings to me also so that my exam will rocks(lol)
thanx sir
a big salute to you

:) Glad it helped you so much Sidharth.
Hope your exam was well. Best of luck ahead.

dosbox work in fullscreen mode but afterv one program is run sucessfully
for another mouse didn’t move i tried dosbox option to correct mouse lock but nothing happens.

Why you need mouse to work, anyway? Use keyboard shortcuts, Prabhakar. Mouse is tiresome, no?

in my tc\bgi the graphics related some application is not there so from where i can download it.

It originally works. All libraries are at place. Check what syntax you are using. You need to use double \\ to mention the address in graphics program, afaik.

i finished download… wen i click [TC3setup.exe] …. its shows…

The version of this flies is not compatible with the version of windows you’re running. Check your computer’s system information to see whether you need an x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.

wat i must do… can anyone pls help me pls soon……………

I’ll provide you with unzipped file version of TC. Wait. :)

i am getting an fatal msg that” unable to open out file”.plz help me.

awesome it worked

Awesome! Glad it helped out.

I am using alt + enter , it goes full screen then is stops working what should i do please help

Thnaks

Using alt + Enter , it does work but then gets stuck what should i do please help

Thanks

You sure that TC worked normally in unmaximized screen? Make sure that you followed all the steps mentioned above correctly and try again.
Good luck.

Thank You very much guys…………..

Thanks a lot sir. It’s work properly. But when i quit the window one message displayed “c:\turbo3\bin>”. so i don’t know what i write and quit window. plz help..

Simply write ‘exit’ and you are good to go. :)

c:\TC>cd bin
unable to change to: bin.

how can i solve this problem

You followed some step incorrectly. Type ‘dir’ to list what you have in present directory. Go through steps again for more help.
Good luck.

thank you sir….
but now it say invalid directory. when i click ok, c++ program runs.
any problem here?

As long as your program is running comfortably, you shouldn’t worry about that part.
If you still want to rectify it, check that your TC actually has BIN or not. Pick up the link of setup from post and try using that with same instructions. Will work.:)
Good luck.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.