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)
You can make a difference in the Apple Support Community!
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
How to install "Turbo C" programme on mac... Need an urgent reply..
MacBook Pro, Mac OS X (10.7.5)
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
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
Does Turbo C run under DOS? If so, you could most likely install FreeDOS in a virtual machine (VMware Fusion, Parallels, VirtualBox). Or install the version of Windows needed for your Turbo C version.
Or use Apple's XCode, which is free to download and install on Mac OS X.
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.
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 ] 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/
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;}
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.
Step 4: Compile the program using Alt + F9 OR Compile > Compile (as shown in the below screenshot).
Step 5: Press Ctrl + F9 to Run (or select Run > Run in menu bar ) the C program.
Step 6: Alt+F5 to view the output of the program at the output screen. Android training in chennai
<Link Edited by Host>
I have recently read one article, in this post they have briefly explained about your queries( How to install 'C' on Mac) just watch to get more conclusion.
http://www.macobserver.com/tmo/article/install_the_command_line_c_compilers_in_o s_x_lion
Regards,
SAS Training in Chennai
<Link Edited by Host>
If you have the source, recompile under Xcode and hope...
Nobody has used Turbo C in 20 years.
Why are you responding to a 2 year old post?
Why are you using a font color so light that no one can read it?
No, he specifically asked about "Turbo C" not a generic C compiler. Your advice is wrong and two years too late.
How to install "Turbo C" programme on mac...