Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to install "Turbo C" programme on mac...

How to install "Turbo C" programme on mac... Need an urgent reply..

MacBook Pro, Mac OS X (10.7.5)

Posted on Aug 24, 2013 10:34 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 2, 2017 12:10 AM

maybe the programmers haven't used it but the students do need to use the software as it is the one prescribed by the schools

10 replies

Aug 26, 2013 5:48 PM in response to Kushagra B

I suppose I'll ask the question that no one else has yet...why do you want to install Turbo C on your Mac? More specifically, what is the ultimate task you are trying to achieve?


Turbo C hasn't been in development since the 1990s; it's successor, Turbo C++, is similarly out of development; it was a 16-bit Windows program, so it never ran on any Apple OS...let alone OS X.


Embarcadaro, the company which bought the "Turbo" line from Borland, has a modern succesor to those compilers, C++Builder (although it isn't free). But Turbo C is a museum piece only notable for its historical value...unless you're writing programs for 20 year old computers.

Nov 21, 2015 8:49 PM in response to Kushagra B

First thing first, download a copy of Dosbox and a copy of Turbo C / Turbo C++ A quick Google search will give the official links to download this apps. Please make sure to grab the latest version of Dosbox. I am using version 0.74-1.

Once you have downloaded Turbo C and unpacked the zip archive, you will be presented with three directories called Disk 1,2 and 3. Now, make a new directory called TURBOC and copy all the files of these three directory in it. So, now u have just one directory called TURBOC with all the files in it. Copy TURBOC folder in your desktop so that its path is /Users/username/Desktop/TURBOC

If you want to Install Turbo C++ then you will be presented with three files called Tc.exe, Tc.r00, Tc.r01. Make a new directory called TC++ and put all the three files in it. Copy TC++ folder to your desktop so that its path is /Users/username/Desktop/TC++

Now install Dosbox. Once you have Dosbox installed, create another directory called DOS in your profile root folder so that its location is /Users/username/DOS This is the folder where we will Install Turbo C / Turbo C++ and will be treated as C: when running Dosbox

Installing TURBO C

Now get ready to install Turbo C in your Mac (Installing Turbo C++ guide will follow later on in this same tutorial). Please double click the Dosbox app. I hope you all are familiar with PC terminology. In PC we have separate hdd drives called A: B: C: D: and so on (We have volumes in Mac) Where A: and B: is actually a floppy drive and C: D: etc is a Hard disk Drives. As we are aware [In-case you are not aware this will be good info for you to know User uploaded file ] Turbo C used to come in three floppy drives (and that’s why you had three directories when you downloaded Turbo C) So First we will have to mount A: and C: so that we can install Turbo C in our Mac. Follow along and type exactly what I am typing and you will be fine.



now refer to http://contanimated.com/turbo-c-turbo-c-mac-osx/

Jan 8, 2016 4:09 PM in response to Kushagra B

Step 1: Locate the TC.exe file and open it. You will find it at location C:\TC\BIN\.

Step 2: File > New (as shown in above picture) and then write your C program

#include<stdio.h>int main(){ printf("hello World!");return0;}

User uploaded file

Step 3: Save the program using F2 (OR file > Save), remember the extension should be “.c”. In the below screenshot I have given the name as helloworld.c.

User uploaded file

Step 4: Compile the program using Alt + F9 OR Compile > Compile (as shown in the below screenshot).

User uploaded file

Step 5: Press Ctrl + F9 to Run (or select Run > Run in menu bar ) the C program.

User uploaded file

Step 6: Alt+F5 to view the output of the program at the output screen. Android training in chennai


<Link Edited by Host>

How to install "Turbo C" programme on mac...

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.