- To install Turbo C on Windows 7 32bit :
- To install Turbo C on Windows 7 64bit :
This problem can be resolved using a mere 1.38MB software named DOSBox thus saving your lot of pc hardware and software utilization. So inorder to get things work we need to follow these steps :
- Install the software DOSBox. download here
- Download and extract TC. download here
- Make sure that the DOSBox and TC are in the same directory and the TC.exe application is in the Folder TC>>BIN>>TC.exe for this to work.
- Run DOSBox
- Type the following commands at the command prompt mount d c:\
- Now you should get a message which says: Drive D is mounted as a local directory c:\
- Type d: to get into d:
- Next follow the commands below:
cd bin
and tc or tc.exe [This starts your Turbo C]
- [Important Step] In Turbo C Editor, go to Options>Directories>Change Directories>Change the source of TC to the source directory [D](i.e. virtual D: refers to original c:\).
- Check out this video to implement the above steps.
- For Full Screen : ALT + Enter.
- Do not use CTRL + F9(Keyboard Shortcut) to run and execute programs.
- Go to Program Files.
- Get into DosBox folder.
- Find "DOSBox 0.74 Options" and edit it using notepad(move to the end of file).
- And paste the code as shown in image below.
By the end of this step, Turbo C will load automatically as you click on DosBox icon.
Feel free to ask your doubts and enjoy Turbo C(full screen) in windows 7.
Thank u very much Sir.. Really itz working :) :)
ReplyDeleteYou are welcome.. :)
ReplyDeletewhen i run one sample program it display in the message section "LINKING CC.EXE". I want to know how to run
ReplyDeleteI would recommend you to read this to solve the linker error Linker Error
ReplyDeletehope that helps..
In dosbox folder i could not find "DOSBox 0.74 Options" which i have to edit. Plz help....
ReplyDeletePlease check it carefully dear, it is in the DOSBox-0.74 folder, titled as DOSBox 0.74 Options(Windows Batch File), just double click to edit it... :)
ReplyDeletesir when i type cd tc it shows "unable to change to:tc please help
ReplyDeleteHi deepshikha, just double click the DOSBox 0.74 Options(Windows Batch File) to edit it. It will open in notepad automatically.
ReplyDeleteWhen i write a program and compile it,it says "Unable to open include file 'conio.h' and 'stdio.h'" and also"Unable to create output file 'C:\NONAME00.obj' "....PLZZ HELP!!
ReplyDeletem gettin error... "unable to change to turboC"
ReplyDeleteGreat !! Very useful thought :)
ReplyDeletesir i cant open DosBox 0.74option
ReplyDeleteHi, DOSBox 0.74 option is a Windows Batch File, you just need to double click it to open it. It will open in the notepad for the editing to be done..
ReplyDeleteSir after compiling program it shows
ReplyDelete*unable to open include file 'STDIO.H'
*unable to create output file 'c:\TC.obj'
sir your idea conio.h and stdio.h to follow the steps
ReplyDeletei did so but its not working
the second one is helpfull
i did same as u say
Hi, For that, In Turbo C, click on Options >> Directories.
ReplyDeleteNow, if you have installed the program in the directory c:\Tc,
Enter in the include box > D:
Enter in the library box > D:
as virtual D: refers to original c:\Turbo\
In my DOSBox folder there is no such file called DOSBox-0.74 and tel me how to move the code to end of file.Tell me further steps...!
ReplyDeleteThanks for your feedback friend, actually you`ve downloaded the previous versions of DOSBox, this tutorial only works for DOSBox version 0.74, so please download that only, and I`ve updated the download link too, so now you can go ahead with this tutorial.Sorry for the inconvenience. Please download it again using the same link and follow the tutorial.
ReplyDeleteGreate work.....Thanks For Sharing .....
ReplyDeleteall my programs show the error unable to open include file STDIO.H
ReplyDeleteHi,
ReplyDeleteI found the solution to header files not being linked, which leads to standard I/O functions and getch() etc not being recognised.
Do this:
1. Click DosBox and Mount your TC folder by entering:
mount d c:\TC (make sure that TC folder is in C drive)
2. d:
3. cd bin
4. tc.exe
Now TC compiler opens.
click on Options->Directories do the following
Include Directories d:\INCLUDE
Library Directories d:\BIN
Output Directory d:
Source Directory d:
Now your program will compile successfully.
That's correct, thnx for mentioning it again(it's already mentioned in the previous comments), this is because virtual D: refers to original C:/Turbo.
ReplyDeletesir thnk u so much!!!! it works !!!!!! it took me 3 weeks to find site that will help me install my turbo c in a 64bit os .... and here it goes it runs!!!! thank YOUUUUUUUUUUUUUUUU!!!!! from Philippines!!!!
ReplyDeleteit did not work. the screen as small as it was before
ReplyDeletePress Alt+Enter to view it in full screen mode.
ReplyDeletei am getting error:
ReplyDeleteunable to open output directory D\
plz rply soon
In Turbo C editor,
ReplyDeleteGo to Options>Directories> change all the directories to D: or the virtual directory you've set while installating Turbo C using DosBox.
can it is work on windows 7 32 bit
ReplyDeletesir i have tried the steps to make the "stdio.h" but still i get the same response "Unable to open include file 'STDIO.H' "
ReplyDeleteplease help.
Dear amit
ReplyDeleteI was also facing all the problems which this anonymous guy was facing n it all got resolved except for the OUTPUT.
I am compiling the program..its getting compiled.
But when I run for output...the window disappears..
how to get the output window or output...pls tell me..
I did the steps above but when i open the dosbox it just shows
ReplyDeleteD:\>TC.exe
Illegal command: TC.exe
sir tell me watever we do coding in the begining like
ReplyDeletemount d: c:\turbo \
and so on
can we save dis so each time we haven't type again and again
For Windows 7 32 bit, visit this link after installing Turbo C.
ReplyDeletePlease don`t use keyboard shortcut to compile c programs, use RUN command in the Turbo C editor..then you`ll not face such problem :)
ReplyDeleteIf it shows "Illegal command: TC.exe", then I think the Turbo C is not properly installed. Try re-installing it, then let me know about any problems :)
ReplyDeleteYes it`s there in the post, you can save your time by not writing all those steps everytime you run Turbo C, follow the steps after the video in the article posted above. :)
ReplyDeletesir..every thing works out but after compilation i could not run and i could not see any output
ReplyDeleteTHNKS A LOT, AMIT SIR, MY TURBO C IS WORKING BUT IN ORDER TO AVOID INITIAL STEPS TO OPEN TURBO C, I HAVE FOLLOWED YOUR DIRECTIONS AND TYPED THE SAME CODE IN THE NOTEPAD IN 0.74 OPTIONS BUT TURBO C DOESN'T OPENS DIRECTLY WHEN I CLICK ON DOS BOX...PLS HLP ME....
ReplyDeletesir after running "mount d C:/turbo/".....error occurs "directory c:/turbo/ does not exist....plz help
ReplyDeletetx for guiding -> installation of on TC 64 bit
ReplyDeletePlease be more specific about your problem..
ReplyDeleteHi naveen, write the exact code which you have used while installing Turbo C via DOSBox 0.74 in the notepad editing. Or please try re-installing Turbo C using the same process. :)
ReplyDeleteAnswer to "sir after running "mount d C:/turbo/".....error occurs "directory c:/turbo/ does not exist....plz help" - Give the appropriate directory name where Turbo C is stored to avoid this error.
ReplyDeletehow to write program in full screen mode...it only allow me to view not edit the content..plz reply..
ReplyDeleteHi Kanishka, To get into Full Screen mode, press Alt+Enter, but never faced any situation where I cannot edit the content. I would recommend you to re-install Turbo C using DOSBox. If again there`s any problem, then do let me know.
ReplyDeletehi amit sir thnks 4 reply.....i hav typed same code
ReplyDelete"[autoexec]........tc.exe" bt its not wrkng....
Naveen you don`t have to type the "[autoexec] and all", you have to start from here
ReplyDeletemount d c:\TC\
d
TC.exe
make sure the TC in the first line and the last line are same which you have used while installation process.
thanx a lott...awesome work!! :)
ReplyDeleteThank you very much Sir..
ReplyDeleteIt works perfectly!!!!
Thank you once again!!!!!!!!!
Hey
ReplyDeleteThe TC runs but m not able to run any program.Though it compiles successfully but does not get to the output after run..tried the compile and run on the screen as well as the keyboard shortcuts..!
Hi, What error are you getting while compiling the programs? Please do not use keyboard shortcut to run the programs.
ReplyDeleteya i did not use d keyboard shortcuts at first..But evn wid the compile & run on the screen it does not run..There are no errors while compiling and wen i click on run,thr is just a flash n d editor screen returns..!
ReplyDeleteOk, Do check your Directories Settings, which can accessed by Moving to Options>>Directories in Turbo C editor. Make sure that they are set to D:\ or the virtual drive you have used while installation process. Or try re-installing the same.
ReplyDeleteCould not find a fix for that.. Installed it several times and many ways.. checked the directories too..! I think dts d 1st of its case.. if u find any solution post it.. i ll keep following d blog..!!
ReplyDeletethnx 4 ur help!
Ya sure, will try to resolve this error ASAP.
ReplyDeletehi sir.
ReplyDeletethanks a lot.after reading your blog its a great help.i was sucessful in intalling dosbox. when i compile a program there are no errors in compilation but when i run, an error has occured "UNABLE TO OPEN COS.OBJ" file.pls help me.
and i am not getting how to open c next time shortcut though i have edited notepad by writing mount lines.wat to do?? U tld naveen to write same code in notepad again which we wrote while installing c.do i have to write that at the end of that notepad after writing those mount lines??next time when i have to open c where should i go??
reply soon.
hello sir, at the time of mounting TC in dosbox am getting that turbo doesn't exist. wt should i suppose to do?
ReplyDeleteplzzz help sir.......
haritha
For error "UNABLE TO OPEN COS.OBJ", open Turbo C editor, Go To Options>Directories>Change Directories>> Set Directories to D:\
ReplyDeleteFor another error,
Yes you have to write those mount lines in the notepad file at the end. After writing those mount lines, click on the DOSBox icon to open Turbo C Editor directly.
Haritha, there can be many reasons for that, you might be providing different name(for example, actual file name is TC and you might be providing some other different name say Turbo C), so to avoid that provide the exact name of the file.
ReplyDeleteSecondly, May be the Turbo C doesn`t exist on your system. So first download if this is the situation. Then try the above process of installation.
sir , i m getting uanable to change in bin when i type cd bin
ReplyDeleteplz tel me wat shld i do knw
thanks a lot i got a help from dos box and now i am able to run turbo with thw help of it
ReplyDeletei could not download tc from this link its forbidden
ReplyDeleteIt`s working..I just checked it..please try again..or let me know..will provide you another link to download TC..
ReplyDeleteIf you are facing downloading problem with the above link, please download it from here Turbo C
ReplyDeleteit shows while compiling that
ReplyDeleteunable to open the include file
unable to open the include file
i have changed directory mode which u have specified
Check whether the application TC.exe is in the folder TC>>BIN, or change your directories settings to only D:\ instead of D:\TC\INCLUDE or D:\TC\LIB.
ReplyDeleteHope it helps.
Hello sir, thnx 4 the steps but um facing a problem that after pressing alt+enter, tc editor gets displayed in center of screen but of the same small size. plz help me asap!
ReplyDeleteAAKANKSHA, for that
ReplyDelete1.Go To Folder DOSBox-0.74
2.Find "DOSBox 0.74 Options(Windows Batch File)" and edit it using notepad.
2.Find the value "fullscreen=false" and replace false with true.
3.And Save it.
while runing the pgm i get error "unable to open cos.obj"
ReplyDeletei have written the text u have been given in the DOSBOX0.74 option folder even it shows the error
Check whether the application TC.exe is in the folder TC>>BIN, or change your directories settings to only D:\ instead of D:\TC\INCLUDE or D:\TC\LIB.
ReplyDeleteThank u friend its working
ReplyDeletethank yu vry mch!! it works wen its minimized bt nt after maximizing!!
ReplyDeleteYou are so hot. Thanks a million. I wish I could give you a gift or something.
ReplyDeleteWHEN I AM EXTRACTING TC IT DOESN'T SHOWING ANY TC.EXE FILE.............HELP ME SIR PLZ
ReplyDeleteHi, TC.exe is situated in BIN. Please follow the steps ahead to complete the installation.
ReplyDeletethank you sir. im unable to view full screen. when i press alt+ enter, i got full screen with normal window in the center. And the screen get struck, so unable to edit. please help.. thanks in advance. madhu visakhapatnam.
ReplyDeletethanqqqqqq a lot
ReplyDeleteHi Madhu, Working on your problems, till then use it in the normal mode only.
ReplyDeletehey bro, i'm not able to execute the programme at all....:(
ReplyDeleteany specific error, chethan?
ReplyDeletethank u so very much sir.. i was searching for this nly since a very long time..:)
ReplyDeleteSIR YOU WRITE DO NOT EXCUTE BU CLICK OR TYPE THE KEYWORD CTRL+F9 THEN WHAT KEYWORD ARE USED TO EXECUTE.
ReplyDeletewhen i execute the command tc.exe/tc its not working...so plz tell me whts the promblem behind it??
ReplyDeleteplzz tell me all steps one by one
ReplyDeleteHi Mr amit. i am also facing the issue of not seeing the output. program compiles without errors, but when i go to window>output , it doesn't show the output of program .. the dosbox command prompt is shown there.. even if i include clrscr. those commands are always displayed.
ReplyDeletehii sir, can we eun Mplab ide 64 bit in the same way..as am using widows 7 64 bit..
ReplyDeleteNisin
it is unable to change directory from d to tc
ReplyDeleteIf you are getting the error unable to open include file stdio.h or "unable to open file cos.obj" the one of the solutions i found is that both dosbox and tc should be in the same dir
ReplyDeleteThanx sir for this .. i found a best solution for a long time. thanks again Amit sir..
ReplyDeleteHI
ReplyDeletei am not able get the otput pls help.......
hi,thnks a lot my problem is solved......:)
ReplyDeleteWhat error are you getting, please be specific..
ReplyDeletethnx
ReplyDeletethnk u very much sir...im very gr8 ful 2 u
ReplyDeletehats of man thanks
ReplyDeletehats off man thanks
ReplyDelete