Turbo C on Windows Vista

28 11 2007

Some of my students were having problem using Turbo C on Windows Vista. One of the major problems was vista didn’t support the Full Screen mode. I was on leave for couple of days, so had enough free time. I decided to have a go at this problem. I got hold of my Dad’s laptop with pre-installed Windows Vista and tried different things. Finally, I was able to solve this, here are the steps for it:

  1. Copy the “DOSBox0.72-win32-installer.exe” from http://www.download3k.com/Install-DOSBox.html

  1. Install it with default settings.
  2. Create a folder “Turboc” in your C:\> directory.
  3. Copy your turbo c folder such as “TC” in the folder “Turboc”. This is shown in the following diagram.

fifth.jpg

  1. Run the software you installed. Its icon is present on the your desktop.
  2. This will run the software, as shown in the fig:

first.jpg

  1. Write these lines in the screen:

mount c c:\>Turboc

Press Enter

Following message will appear on the screen

Drive c is mounted as local directory c:\Turboc\

Now write:

C:

Press Enter

Now write:

cd TC

Press Enter,

Now write

cd bin

Press Enter,

Now write

Tc.exe

All these steps are shown in the following figure:

2nd.jpg

8.

Now following screen will appear:


fourth.jpg

10. Press Alt + Enter. Full screen mode of Turbo C will appear.

[updated]IMPORTANT : Don’t use shortcut Ctrl+F9 bcoz it is a shortcut for dos box to exit

Happy Coding


Actions

Information

88 responses

24 12 2007
Tazeen

Juniper offering free of cost certifications costing $125/- each

details at

http://cd-bills.blogspot.com/2007/12/free-certifications-at-juniper-networks.html

25 12 2007
Samaneh.Samiee

Dear sir;
HI
i ‘ve tried this way , but unfortunately this method can not do anything to solve the main problem.Our main problem is to support graphical boards.If u test a graphical example u’ll undrestand what i say.
this way (To open turboc by DOSBOX)just lets us fullscreen and it’s just s.th like zooming on the screen .
SO THIS PROBLEM HAS NOT BEEN SOLVED YET.
i’ll be glad to get your reply.
BYE.

25 12 2007
Mohsin

I ll test the Graphics on tc using Dbox , but it will be better if you send me some sample code so that i can understand what exactly your problem is! the email address you entered is invalid!

13 01 2008
nagendra kumar

I have done all procees by proocess but when i enter command “cd bin”
then give the message unable change the bin. Please give suggestion me.

13 01 2008
mayank

hi sir!
i tried the way u mentioned. but when i m writing mount c c:\>Turboc and pressing enter, the result is “Mounting c:\ is not recommended. please mount a (sub)directory next time.
Drive c mounted as local directory c:\”. my prob still remains the same…plz tell me what to do…waiting for ur reply..
BYE

28 01 2008
Piyush

Hi sir,
i did try this software for the dos in windows vista.But the problem i faced was in Running the program.The c-window disappeared when i tried to run the program.
i hope you’l solve this problem of mine.will be glad to see ur reply.
BYE.

31 01 2008
NAZNEEN

i used dos box to start turbo c on full screen mode as per ur process but the moment i started writing the program my screen turned blurred and i had to exit. so the problem was not really solved. help…

13 09 2009
Jan sher khan

Hi i got problem in installing turbo c in 64 bit OS

2 10 2009
sandip bansode

please, remove your intel media accelrator driver from your pc then restart your pc then cheak fullscren of turbo c is appear

28 02 2008
vipin

Is it safe for vista as well as system(answer me)…………if it is then very good.

3 03 2008
mike

what is the turbo c folder, called TC in this example?

13 03 2008
Bruno

i used this in vista and the graphics.h library worked great…
i just kept the stepts ! thanks

13 03 2008
James

Turbo C is a compiler created for MS-DOS decades ago. The 16-bit DOS programs it compiles need to be run in an emulator. In XP, it was called the NTDOS virtual machine,
or ntvdm.exe. There’s no excuse for the fact that teachers haven’t bothered updating the syllabus in 20 years. Programmers use proper graphics APIs like OpenGL now, and proper 32-bit compilers for Windows.

18 03 2008
saurav

when ever i am giving command z:\> mount c c:\>turbo\
its giving output as mounting c: is not recommended please mount a sub dirctory next time.
please solve this problem

27 03 2008
Rajesh

I have 64 bit AMD processor with vista. I tried the steps given above. Every thing was fine till I wrote TC>EXE (last commond). As I wrote it it gave a message saying FAILED TO LOCATE DPMI SERVER. (DPMI16BI.OVL). what should I do ? Please help.

9 04 2008
anshu

hey graphics didnt wrked out plz can u help….

25 04 2008
kumar

hey i have follwed ur method , i gt the full screen but no use my screen is getting so dark that i can t see anything , i am using vista os and intel 945gm grapichs card
plz help me what to do

26 04 2008
charles

im running c2duo 64bit vista ultimate i followed the steps and TurboC run through my system… The thing is when I test my program, the program itself exit’s hehe i dunno whats wrong but the still TC run thanks for the instruction

27 04 2008
Tim

Turbo C is for DOS, get with the times.

23 05 2008
amvil

how do you get turbo C to run on full screen in windows vista??

9 06 2008
p3

dear sir,
i have got tc up and running,
but once i press ctrl+f9 or compile the turboc window closes down,
i can only type and save programs now,
please look into this,
thank you,
p3

9 06 2008
p3

and kindly e-mail me the solution….

10 06 2008
p3

hey…i got it…..m using RUN command afer dompiling…i compile using compile command…not ctrl+f9…it’ll close otherwise…

19 06 2008
Venkatesh

the left part of the screen is hidden. i can see only from 5th line

20 06 2008
Shyam

hi sir!
i tried the way u mentioned. but when i m writing mount c c:\>Turboc and pressing enter, the result is “Mounting c:\ is not recommended. please mount a (sub)directory next time.
Drive c mounted as local directory c:\”. Plz check it out and do reply

1 07 2008
julie

hi Mr.,
im just got problem about turbo c, i have been long time searching and installing this programming in any turbo c site and nothings work then i can’t make a program or learning it…Here in this site where im still hoping to answer my problem that i can run a tubo c in my pc….pls will u help me? my prob here is same as this one “when ever i am giving command z:\> mount c c:\>turbo\ its giving output as mounting c: is not recommended please mount a sub dirctory next time.” why is that?what its mean? im following the instruction…and hey is it ok not to use a window vista or it should be?…if it could we have to download window vista first?……please solve this problem

thanks a lot…

4 07 2008
Stephen

This program changes nothing. I still can’t call the stdio.h or watever library I want. And the C-lab deadline is coming nearer and nearer

8 07 2008
Rajesh

sir i have done as per u have given out here.. but everything is working for me except the full screen mode… when i do press alt+enter, the background black screen maximises but the blue cpp window remains the same small size…. plzz do help….

16 07 2008
RAj

dear sir,
i have got tc up and running, on VISTA
but once i press ctrl+f9 or compile the turboc window closes down,
i can only type and save programs now,
please provide any solutions on how to exe the pgms…
please look into this,
thank you,

16 07 2008
RAj

dear sir,
i have got tc up and running,
but once i press ctrl+f9 or compile the turboc window closes down,
i can only type and save programs now,
please look into this,
thank you,

29 07 2008
seetharam

when i type c: after mounting and press tc, unable to change message is displayed

29 07 2008
saurav jaiswal

I have done all procees by proocess but when i enter command “cd bin”
then give the message unable change the bin. Please give suggestion me.

8 08 2008
ADDI

compile program not show

12 08 2008
Aaron

Sr:

i used your explanation about who install Turbo C in Windows Vista and it work perfectly

im using a
amd x2 2.0mhz
14.1″ screen nvidia graphics 7200
3G DDR2
S.O. Windows Vista 64( it came with the pc)

really thankyou im student from ensenada Baja California from T.I. and actually we use Turbo C in Two Clases

P.D. Sorry for my english im steal lerning

8 09 2008
RASTA MAN

THANK YOU!!!

9 09 2008
srinivas

i had downloaded dosbox and installed .everything fine but in the program editor iam unable to type some character like RIGHT SQUARE BRACKET ] .Pl give me solution.

10 09 2008
alvin

http://i395.photobucket.com/albums/pp34/nilvaris/Capture-1.jpg

sir what happen here? can you help me?? i have YM nilvaris or..reply here

2 10 2008
ROBIN

HI………..
If anybody is not able to get the run any program in fullscreen mode in vista then it is possible by follows some tips.
1) First of all after coding press alt+enter
2) you will get in minimize mode
3) after that u run program the output screen will be in front of u.
4)Then press alt+enter u will output displayed screen in full screen mode.
CHEERS TO LIFE
If any problem occur related to vista plz dicuss with me and u can mail me at robinson_singla@yahoo.co.in

13 10 2008
MObarak

tnx 4 this

13 10 2008
MObarak

there is a gr8 error.
it will
mount c c:\turboc instead of mount c c:\>turboc

18 10 2008
rajvardan

sir,
we hve hve the following problem!
wen we try to run the written program the window exits itself!
and the fullscreen seems only like just zoomed one!!!!!!!!!!
pls reply fast!
i am afraid i should repplace vista!!!!!!!!!!!!!!!

19 10 2008
Lokesh

hello,
i am using turbo c++ graphics . can any one suggest any other IDE or way to design graphics application easily in window using c/c++ language.
email: lokesh_exe@yahoo.co.in

1 11 2008
sodo said

hi all,
this turbo c good full screen thanks.but this is compile error messege
example:
#include
main()
{
int a=3;
printf(“%d”,a);
}

error: 1.Unable to open inclue file ’stdio.h’
2.function’printf’ should have a prototype

why does it always give an error saying “can’t open the include file stdio.h”

help me?!?!?!?!
please………
write messega my e-mail:
ok
e-mail: sodko_33@yahoo.com

3 11 2008
donald

i cant able to download the DOSBox0.72 from the website…..can you refer me some other website to download the software….m really suffering a big problem opearting turco C in window vista….even after formatting my laptop am unable to change my OS….so please refer me some other website to download that software…..i’ll be so glad if you do that…

5 11 2008
kuldeep th

dear sir/madam
i have installed the turbo c in my vista OS.everything is working perfectly except the running of the program.whenever i run a program,it automatically closes the window and i cant finf the output.
i’ll be so glad if you solve out my problem as soon as possible.please mail me the solution on my email id mention.

15 11 2008
karthik

thank you sir.it helped me the most.

16 11 2008
xflash

thank u so much man… ive bin lukin 4 dis.. nw i dnt hv 2 instal xp for codin..

26 11 2008
prasannasajjan

Guys its that simple…….
Just remember one thing don’t use shortcuts such as Ctrl+F9 bcoz it is a shortcut for dos box to exit….
Just run the program from run tab…..

26 11 2008
sunil bansal

Hi sir,
i did try this software for the dos in windows vista.But the problem i faced was in Running the program.The c-window disappeared when i tried to run the program.
i hope you’l solve this problem of mine.will be glad to see ur reply.
BYE.

5 12 2008
naysantun

i have no problem.thanks…………………million thanks.

6 12 2008
Utpal

When i type in last Tc.exe It show Illegal comand : Tc.exe

16 12 2008
Ankit

sir,

i have tried this and it has worked perfectly.
thanks…
But sir i have to repeat the same procedure everytime i start.
is there any way to fix it up….
i will be very thankful to you
Ankit Goyal

25 12 2008
rony

im just got problem about turbo c, i have been long time searching and installing this programming in any turbo c site and nothings work then i can’t make a program or learning it…Here in this site where im still hoping to answer my problem that i can run a tubo c in my pc….pls will u help me? my prob here is same as this one “when ever i am giving command z:\> mount c c:\>turbo\ its giving output as mounting c: is not recommended please mount a sub dirctory next time.” why is that?what its mean?
what should i do please help me running tc in my vista.i have given ma mail address please give me the solution

7 01 2009
Elavarasi

hi..
I have been searching long to install turbo c in my laptop, having windows vista, home premium. Have followed ur process, but while entering “TC>cd bin”. it is saying that unable to change to :bin.. give me an immediate solution for this…………………..

12 01 2009
ASHISH

hi,
i followed all the steps but its not working.
when i give the command tc.exe it gives me error as ” Failed to locate DPMI server (DPMi16BI.OVL)”. I have windows vista primium with dell inspiron 1525.
Plz help me to remove this problem.

7 02 2009
sagar

i am able to compile & run the program using
dos box but how to see output?
Is there any different command like run the program,please tell me.

7 02 2009
Mauricio

I have done all procees by proocess but when i enter command “cd bin”
then give the message unable change the bin. Please give suggestion me.

19 02 2009
meg

Thank You Sir!!!!!!!!!!!!!!!!!!!!!!

19 02 2009
meg

i have no problem.thanks…………………trillion thanks.

19 03 2009
meh

thnks for this post! Turbo is now working perfectly on my vista laptop!

26 03 2009
rijo

thank you sir,
but we need to the above steps everytime
can you please assist me in avoiding that by any tricks

26 03 2009
rijo

thank you sir,
but we need to do the above steps everytime.
can you please assist me in avoiding that by any tricks

9 04 2009
sud

sirrr plzz help me i face many problems …
i m unable to print \ key

16 04 2009
Sreejesh

This is very helpful.

Thank you very much

18 04 2009
praveen

Hi Sir,
Thank You
It worked great for me.
i am able to run tc in full screen which the supports the graphics library.thats really great

18 04 2009
ADITYA

IT UNABLE TO LOAD HEADER FILES

23 04 2009
balaji

.Unable to open inclue file ’stdio.h’ & conio.h
even though i have given tha path correctly
please mail me sir

24 04 2009
balaji

sir,
Its worked well for me but when i am trying to compil the program it shows stdio.h & conio.h are unable find even though i set the path correctly
Plz gimme a soln i need very urgently

26 04 2009
BabaGe

Thank you Gentleman,

I configured all the bits for my laptop. Thanx for the idea. Grt suggestion to use DosBox. Its nice. Thanx.

16 05 2009
Akash

Sir,

Thank Your So much……………..

21 05 2009
Mario

Thanks for the light tutorial, but I was just wondering how to include or leave a batch file on Z: to automatically do everything, something like this,
@ echo off
@ mount c c:\turboc
@ C\:
@ cd TC\BIN
@ call TC.exe

22 06 2009
akshay

it worked

3 07 2009
tuhin roy chowdhur

pls give me the software

4 07 2009
ramesh sethi

sir,
whenever i want to do programming in turboc in vista i have to repeat the whole process which you have said. Is there any method by which i can run the program by just double click in the IDE what i does in microsoft XP operating operating system.

5 07 2009
cooldude

hey pro,,
it works out fine for me,, only part needed to do some changes in the method u wrote above..
i.e instead of copying tc into turboc named folder, i directly runned it up for tc..
neways thanks. for the tip..

12 07 2009
Rishabh Dangwal

well…vista is bad when it comes to legacy emulation and hence softwares like DOSBOX come to rescue. But still..go linux,GCC rocks.

Regards
XERO

21 07 2009
shivani

sir
i am facing some problem to make activate the full screen mode.
when i m writing mount c c:\>Turboc and pressing enter, the result is “Mounting c:\ is not recommended. please mount a (sub)directory next time.
Drive c mounted as local directory c:\.
sir please sugest me what should i do

22 07 2009
shikha

sir….
i am facing the problem that i have to repeat the same process every time to run c….
is there any alternate for this problem?
otherwise its running perfectly…
thanks…

24 07 2009
John

Hey guys why don’t you just install Virtual PC in ur vista OS and Install XP on it and use Turbo C there..

14 08 2009
sunny

for those who are having problems in ” mount c c:\Turboc” step.. just manually create a “Turboc” folder in your c drive.. it works

but still i m having problem while changing my directory to “TC”..
it gives error-”Unable to change to: TC”..
if someone could help i would be greatly thankful.

19 08 2009
Anshul

THANX a TON buddy !

22 10 2009
shalu

sorry it worked for full screen bt still i cant do programming in graphics.plz help me out

22 10 2009
sawan

sir,
i hav 64 bit vista. but whenever
i try to open the edit window by using
c:\>edit .then i recive aerror msg. that yor system can not support 32 bit files, so wht i do to work with c , c++,cobol,java.in 64 bit system
(windows vista premimum.)

23 10 2009
akhilesh

sir , i have a 64 bit operating system. i had a problem in running turbo c in 64 bit os , would u please suggest a solution.

27 10 2009
Ram

Hello,
This information was helpful I was able to run the sample C file “BGIDEMO.C” in graphics mode.

Thanks,
Ram

3 11 2009
hkp

header files cannot be loaded…
plz help

9 11 2009
Ashu

How to Get full screen of turbo c in vista

9 11 2009
krishnakumar

i tried this. turbo c is running in fullscreen. but whenever i compiled, it says that it is unable to open the header files mentioned in the program

Leave a comment