1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to run Turbo C++ in Windows Vista ?

Discussion in 'Programming' started by ishan, Aug 9, 2007.

  1. #1
    My friend has this problem with her new Laptop. She cannot use Turbo C++ on the Windows Vista OS.
    Can anyone suggest a solution for this ?

    Thanks
    Ishan
     
    ishan, Aug 9, 2007 IP
  2. mr_mahesh_in

    mr_mahesh_in Well-Known Member

    Messages:
    268
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    110
    #2
    Install the software DOSBox ver 0.72 ( 1.2 MB ) (Freeware) from the link below (Direct Link)

    http://prdownloads.sourceforge.net/dosbox/DOSBox0.72-win32-installer.exe?download
    Code (markup):
    Before going to the details u have to create a folder (any name will do). Here we name it as Turbo

    Copy the TC into the Turbo folder

    Run the DOSBox 0.72 from the icon located on the desktop or from the location of the installation folder

    Then u are presented with two screens which look like the command prompt in Windows

    Now u are presented with two screens. One with a Z prompt. U can ignore the other screen.

    There type the following commands at the command prompt [Z]:

    Mount [Type in any alphabet that u wish except z] [Type the source of the turbo C] press enter

    Now , Type in the following commands after the Z prompt:

    Z: mount d c:\Turbo\ [The folder TC is present inside the folder Turbo]

    * Now u should get a message which says: Drive D is mounted as a local directory c:\Turbo\ ***

    Now type d: to shift to d: prompt .

    D: cd TC [The contents inside the folder Turbo gets mounted as a virtual drive (Here D drive)

    D: cd Bin

    D: TC or Tc.exe [This presents u the Turbo C++3.0 screen]

    On the Turbo C++ goto Options>Directories>Change the source of TC to the source directory [D] ( i.e. virtual D: refers to original c:\Turbo\ . So make the path change to something like D:\TC\include and D:\TC\lib respectively )

    ===========================================================

    In order to get the full screen use the key combination of Alt and Enter

    When u exit from the DosBox [precisely when u unmount the virtual drive where Turbo C++ 3.0 has been mounted] all the files u have saved or made changes in Turbo C++ 3.0 will be copied into the source directory(The directory which contains TC folder)

    It is a good idea to backup your files in the source directory prior to running DOSBox 0.72

    For additional help go through the readme file located in the installation folder or look on the website of the DOSBox forum.

    The above procedure has been successfully implemented on Windows Vista Ultimate 64 bit

    IMP : Don't use shortcut keys to perform operations in TC because they might be a shortuct key for DOSBOX also . Eg : Ctrl+F9 will exit DOSBOX rather running the code .
     
    mr_mahesh_in, Jun 24, 2008 IP
  3. Vooler

    Vooler Well-Known Member

    Messages:
    1,146
    Likes Received:
    64
    Best Answers:
    4
    Trophy Points:
    150
    #3
    Good information by Mr. Mahesh.

    Btw you can use DEV C++ that is also 100% free, and is more compliant with C/C++ standards.
    download from "http://www.bloodshed.net". At many institutes all around globe TC has been discarded and DEV C++ has been chosen, the reason is standards and compatibility with more OS's and more user frieldnly native application.

    regards
     
    Vooler, Jun 24, 2008 IP
  4. yugolancer

    yugolancer Well-Known Member

    Messages:
    320
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #4
    Actually why you don't use the VC++ 2008 Express Edition which is also 100% free and i believe most powerful free IDE so far.

    HTH
    Regards :)
     
    yugolancer, Jun 29, 2008 IP
  5. chouxpastry2002

    chouxpastry2002 Well-Known Member

    Messages:
    365
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #5
    thansk a loads for the procedure you saved me from formatting my pc for XP :)!!!
     
    chouxpastry2002, Jan 30, 2009 IP
  6. Ancient Dragon

    Ancient Dragon Peon

    Messages:
    192
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    A lot of schools still teach programming with TurboC. Unfortunate, but true. So the student may not have any other choice but to use it. If that's not the case here, then I too would strongly recommend using a more modern compiler/IDE because Turbo C (the old MS-DOS version) doesn't support C language very well. There is a new 32-bit version of Turbo C that was released just a couple years or so ago, but I don't know if its compatible with Vista or not either.
     
    Ancient Dragon, Jan 31, 2009 IP
  7. THEPHENOM

    THEPHENOM Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    THE SOLUTION AT THIS LINK IS THE BEST ONE..AS ITS SIMPLE WITH NO MORE COMMANDS ..JUST DOWNLOAD TWO UTILITIES,,N THAT,S IT..http://WWW.AMITBPIT1.BLOGSPOT.COM
     
    THEPHENOM, Nov 17, 2009 IP
  8. THEPHENOM

    THEPHENOM Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    THE LINK FOR THE ABOVE SOLUTION HAS MOVED TO
    http://amitbpit.blogspot.com/2010/01/how-to-run-turbo-cc-or-16-bit-cc-in.html
     
    THEPHENOM, Jan 15, 2010 IP
  9. chirag ahuja

    chirag ahuja Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    i ran turbo c++ in my windows vista using dosboxx.though the TC application starts but whenever i create a program and compile it,it shows an error saying-NOT ABLE TO INCLUDE <STDIO.H>..please help how to overcome this problem.
     
    chirag ahuja, Feb 16, 2010 IP
  10. NeoCambell

    NeoCambell Peon

    Messages:
    456
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Install Microsoft Virtual PC which is 100% free.

    1. Download and install it on Vista
    2. Use new virtual machine wizard
    3. Reserve 4 GB of hard disk and about 128 MB memory
    4. Now you can install Windows XP to this configuration

    The reserved space on your hard disk will be seen as a file for Vista.

    Once you have Windows XP running on top of Vista, you know what to do next with Turbo C :)

    If you need to have Linux on Windows or vise-versa, use Virtual Box.

    See Install an OS on another OS
     
    NeoCambell, Feb 19, 2010 IP
  11. jorell

    jorell Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    i don't get the mounting stuff, it always says directory doesn't exist., pls help... :(
     
    jorell, Feb 17, 2011 IP
  12. Coderx7

    Coderx7 Peon

    Messages:
    4
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #12
    hello all :)
    i made an application for running TC on the latest version of windows (both x86 and x64)
    here is the link :
    http://ustmb.ir/Projects/TurboC_Fixer_Installer.exe
    
    Code (markup):
    i would appreciate any feedback :)
    hope you like this :)
     
    Coderx7, Oct 2, 2011 IP
  13. Coderx7

    Coderx7 Peon

    Messages:
    4
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #13
    found it on softpedia its the newest version
    http://www.softpedia.com/get/Programming/Patchers/TurboC-Patcher.shtml
    Code (markup):
     
    Coderx7, Oct 5, 2011 IP
  14. Coderx7

    Coderx7 Peon

    Messages:
    4
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #14
    for future references :
    Turbo C Simulator has been released ,looks promising:)
    http://www.softpedia.com/get/Programming/Coding-languages-Compilers/TurboC-Simulator.shtml
    Code (markup):
     
    Coderx7, Oct 13, 2011 IP