Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am used to Turbo C++ and I am new to Ubuntu.

I really need Turbo C++ to get started.

Can somebody please help me to install Turbo C++ on Ubuntu.

share|improve this question

5 Answers 5

up vote 5 down vote accepted

To run Turbo C++ in Ubuntu you must have the following:

A.Turbo C++ setup If you have the setup then excellent

B.DOSBox Emulator If you have it installed on your system the good but if you don't go to Ubuntu Software Center and search for DOSBox and install the emulator.

or using terminal:

sudo apt-get install dosbox

Now follow these steps...

1.Extract the rar file and you'll get a setup folder.

If you don't have unrar utility you just need to install small package called " unrar "

Step 1 : goto your Terminal then type

sudo apt-get install unrar

you can now extract your .RAR file by "right-click" then chose " extract here "

or via terminal

 unrar dosbox.rar

Move the extracted folder to your home folder

2.Open the DOSBox emulator

Write the following commands :

   1.mount c ~
   2.C:
   3.cd setup
   4.install.exe

3.The turbo C++ installation utility will appear.*Press Enter*.

Enter the source drive as C.Press Enter.

Change the source path to \setup if it isn't.Press Enter.

4.Select Start Installation and Press Enter.

The installer will install the files.Once finished u can delete the setup folder.

5.To run the Turbo C++ every time run the following commands:

   1.mount c ~
   2.C:
   3.cd tc\bin
   4.tc.exe

To enter into fullscreen mode press Alt+Enter and press it again for window mode.

source

share|improve this answer

The Borland Turbo C++ compiler is no longer available. On Linux, a C++ compiler is provided by the GNU Compiler Collection, which you can get by installing the 'build-essential' package. Many Ubuntu applications are actually written in C++.

You can edit your code with a simple editor (e.g. Gedit) and complile from the command line (command g++). Or you can install an IDE, of which there are many to choose from. I'm not a C programmer, but people seem to like Eclipse CDT (package 'eclipse-cdt').

If you have a body of Turbo C++ code that you want to reuse, it will probably be necessary to convert it. The Turbo C++ libraries may not be supported by GCC. I can't really help you there, but you can probably find help for specific cases on the Internet.

share|improve this answer

Turbo c++ is a stone age ide+compiler, you can't create a modern os app using turbo c++, so try a modern c++ ide like codeblocks, qtcreator etc :)

share|improve this answer

Although may be possible to use Turbo C++ in Linux i think you are best served with native linux tools. In Linux the most common C/C++ compiler is gcc/g++. A basic development setup can be achieved installing build-essential package.

If you need an IDE to write yours C/C++ programs you have many choices:

As i said unless you really need to use Turbo C++, give a try on those tools. You will have a much more modern development system with more features.

share|improve this answer

You can download Turbo C++ Compiler from the given link below.

http://www.4shared.com/zip/R96sJOwq/Turbo_C_for_Windows.html

To run this compiler you need Wine installed on your Ubuntu desktop/server.

Just install Wine and unpack the downloaded turbo compiler.

Double click the .exe file or right click and choose 'open with wine windows program loader'

The the file will ask to install, install the setup and search for 'turboc++' in unity.

Click and run the application, this will open the compiler in full screen mode.


To exit the compiler....

Select File>Quit (Alt+X)

That's all you will be back to the Ubuntu desktop.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.