您的位置:首页 > 编程语言 > C语言/C++

Windows 7 64位下如何安装Turbo C++

2012-11-30 13:15 197 查看
Few days ago we have posted an article about installing Turbo C++
on
32 bit Windows 7. Now we are providing step-by-step procedure how to install Turbo C++ on64 bit Windows 7.

1. Install the software DOSBox ver 0.73 :
download here
2. Create a folder,for example „Turbo“ (c:\Turbo\)
3. Download and extract TC into the Turbo folder (c:\Turbo\):download here
4. Run the DOSBox 0.73 from the icon located on the desktop:


5. Type the following commands at the command prompt [Z]: mount d c:\Turbo\ [The folderTC is present inside the folder Turbo]
Now you should get a message which says: Drive D is mounted as a local directory c:\Turbo\


6. Type d: to shift to d:


7. Next follow the commands below:

cd tc

cd bin

tc or tc.exe [This starts you the Turbo C++ 3.0]



8. In 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 )

How to start TurboC++ in the DOSBox automatically:

You can save yourself some time by having DOSBox automatically mount your folders and start TurboC++:

For DOSBox versions older then 0.73 browse into program installation folder and open the dosbox.conf file in any text editor. For version 0.73 go toStart Menu and click on “Configuration” and then “Edit Configuration“.
Then scroll down to the very end, and add the lines which you want to automatically execute when DOSBox starts.
Automatically mount and start Turbo C++3.0 in DOSBox ver 0.73:


Scroll down to the very end, and add the lines:


Those commands will be executed automatically when DOSBox starts!
Please note:

Full screen: Alt and Enter

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

Don’t use shortcut keys to perform operations in TC because they might be a shortcut key for DOSBOX also . Eg : Ctrl+F9 will exit DOSBOX rather running the code .

VIDEO tutorial (there is another setup – original path to Turbo C++ is h:\tc\ and drive H is mounted as drive C:)

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: