Sunday, October 31, 2010

Running Turbo C++ Compiler in Win 7 64 bit using DOSBox

In this article i will discuss about running Turbo c++ compiler in Windows 7 64 bit OS .
TC++ compiler is a 16 bit software and cannot be run on 64 bit versions of Windows 7.But TC ++ can be run in 64 bit Windows 7 by using an x86 emulator called DOS Box.

The process of doing thos is detailed below in plain text or You can see the youtube video which i have attached.OR for better quality click following link.
http://www.youtube.com/watch?v=NqgBp8i-sik




1)Download and install latest version of DOSBox from www.dosbox.com

or direct link available for DoxBox0.74 is here...
http://www.mediafire.com/?sfpq4h1206ew06f


2)Open DOSBox


A console window will open type in the following commands by refering the details given below it
____________________________________________________________________
mount c h:\
h:
cd tc
cd bin
tc
____________________________________________________________________
** Here "c" refers to a virtual drive you can specify any alphabet you like it doesn't matter.
** "h:\ " Refers to the drive which you contain the TC Program folder
** "cd tc " command is used to change the active directory to the folder named tc which contains tc.exe and other files if you have changed the orginal name of this folder use that name instead of tc in this command.

3)TC will open open Options>Directories replace drive letters of all directory specifications by the drive letter you specified earlier in my case "c".
Now you can start doing your program in yur beloved Borland compiler

39 comments:

  1. video link!!!
    http://www.youtube.com/watch?v=NqgBp8i-sik

    ReplyDelete
  2. Bro,I have a problem..in the cd tc step,it s refusing to change to tc.

    ReplyDelete
  3. friend ,
    just read a above information correctly ! ! !

    ReplyDelete
  4. after mounting the drive by typing
    mount x g:\

    it says

    drive c is mounted as local directory g:\

    then i type g:\ (where my tc folder is) it says

    drive g doesnt exist!
    you must mount it first.

    ReplyDelete
  5. i want the tc folder to be in any other drive except c:\
    please help!!!

    ReplyDelete
  6. 1. when u mount c d:\
    it is necessary both drives are present in ur HDD and d:\ must consist a Tc [remember not a setup of Tc , it must be installed Tc]
    now u can proceed ...

    ReplyDelete
  7. after c:\tc\bin>tc when i press enter,
    nothing happens, just the cursor blinks...

    ReplyDelete
  8. THanks friend I got it ,,,How to make turbo c full screen
    pls mail me to naveenversion2.0@gmail.com

    ReplyDelete
  9. it is showing error in TCCONFIG.TC
    what to do now???

    ReplyDelete
  10. Download a Installed TC setup :
    http://www.fileserve.com/file/qEZ8Ek5

    ReplyDelete
  11. Thanks a bunch firzan, works fine with win7 64bit. just in time for my b.tech c lab exam.You rock...

    ReplyDelete
  12. Hi,
    When i am running a program in Turbo C++, a linker error is coming which says, "Unable to open file 'COS.OBJ' ". Please give reply. Thanks

    ReplyDelete
  13. download a installed tc..
    and try again...
    http://www.fileserve.com/file/qEZ8Ek5

    ReplyDelete
  14. After all this How to see the Turbo C on full screen,coz in Win 7 Home premium its displaying on half screen.

    ReplyDelete
  15. unable to change to tc error comes...
    answer plz

    ReplyDelete
  16. read above article correctly...
    working!!!

    ReplyDelete
  17. question:unable to change to tc error comes..

    solution:
    dont type cd tc
    type cd bin and cd tc (or) cd tc.exe

    ReplyDelete
  18. I HAVE A PROBLEM
    unable to chance to bin

    ReplyDelete
  19. try this...
    http://downloads.ziddu.com/downloadfile/13633887/Turbo_C_v4.5_for_Windows.rar.html

    ReplyDelete
  20. its work but..when i compile the program by ctrl+f9 it terminates the dosbox....every time..:-(

    ReplyDelete
  21. if the program terminates...
    then u have to run exe which generate after compilation...

    ReplyDelete
  22. i followed the same instructions but when i open the dosbox icon borland doesnt open??????

    ReplyDelete
  23. does this work on win 7 32 bit also??????

    ReplyDelete
  24. Thanks for ur site...its very good!!but if i want to minimize it cant allow to do that...i have to quit tc window and dosbox to run other programs..

    ReplyDelete
  25. good site.
    Keep up some other issues related topic and solutions.
    cheers

    ReplyDelete
  26. When i type program and compile it.
    there are problem with protype and unidentified header file..
    Wat all these about?
    Solve the prob plz.
    Thank you

    ReplyDelete
  27. after mounting it tells unable to change to d..what to do?plz help

    ReplyDelete
  28. ahmm..
    sir..
    when im already in the part where i'm gonna type cd tc
    it echoes to me that it is unable to change to tc
    what should i gonna do?
    next is
    the turbo says unable to create output file at d:\TC\exer\noname.c

    ReplyDelete
  29. dear read the artical correctly ...and also see the video...its working

    ReplyDelete
  30. i had a problem,please answer it imediately,i need it for my assignment. when i type the last part "C:\TC\BIN>tc" it says illegal command. . .what should i do??what is the correct command for it

    ReplyDelete
  31. why the program are not running,,it only says success

    ReplyDelete
  32. what will i do if the program terminate when i press ctrl+f9

    ReplyDelete
  33. when u press CTRL+F9 it creates exe file before terminationg then there is need to run exe manually...!!!

    ReplyDelete
  34. hi m using dosbox on Windows7 64 bit in dosbox m compiling any program sucessfuly then m running program its saying linker error: unamble to open file c0s.obj .... plz anyone tell me how to solve this problem............

    ReplyDelete