Normally in India majority of schools and colleges have Turbo C/C++ as the default IDE. Most students are younger than the Turbo C/C++ compiler they use at colleges. I checked our college's Turbo C++ and it was made in 1993. Back then George Bush Sr. was the president of the USA and Windows 95 was still 2 yrs away.
I tried using Turbo C in Vista but I couldn't use it in maximized state. Then I tried Wine but it didn't work, I wondered why, but then someone suggested this amazing piece of software called DOSBOX which helps run software made for your dad when he was young and had long hair.
Go to the terminal:
sudo aptitude install dosbox
sudo aptitude install dosbox
APT will now download and install DOSBOX.
You can also use Synaptic as usual.
Download Turbo C/C++ here
You have to register, but they don't nag and it is hasslefree.
You have to register, but they don't nag and it is hasslefree.
Unpack the achieve
Keep the installation files inside a folder of your home directory named "setup".
Open up dosbox, its under Applications > Games
Type in :
This will start the setup of Turbo C.
After setup is finished , do this:
Code:
mount c ~
c:
cd setup
install.exeAfter setup is finished , do this:
Code:
mount C ~ c: cd TC\bin tc.exe
To maximise full screen hit 'Alt+Enter' and to go back to medium size again hit 'Alt+Enter'. DOSBOX has a habit of capturing the mouse pointer, once you click within DOSBOX you cannot move it away from the winow. To go back to Ubuntu hit 'Alt+Enter' twice.
'Alt+X' will close Turbo C.
Hope I have helped :)
![[Image]](http://4.bp.blogspot.com/_0GnY693NakM/SU0I_uBWFXI/AAAAAAAAArc/PDJNTV6-lsI/s320/waynedbd1.jpg)
![[Image]](http://2.bp.blogspot.com/_0GnY693NakM/SU0HcbbVz2I/AAAAAAAAArM/--Tz4K45irg/s320/TC.jpg)
![[Image]](http://4.bp.blogspot.com/_0GnY693NakM/SU0HyBeo3dI/AAAAAAAAArU/AccdCvEYjwI/s320/TC+4.jpg)
Wow man, you saved my life. :)
ReplyDeleteThank you.
well he literally killed you.
ReplyDeleteturboC is severely non-standard, look around the web dude
with linux comes the finest of all compilers, use gcc
or use devC++ or any modern ones in windows
@ Sujoy the Enlightened One!
ReplyDeletePlease read the article carefully. In India Turbo C is unfortunately the default compiler. If you use anything except it you will be failed!
I do not recommend it but since it is a necessity for schools and colleges, I have provided a method to use it in Ubuntu.
thanks buddy....
ReplyDeleteDude, that pic is lol stuff
ReplyDelete@anomit
ReplyDeleteYou can read more lol stuff like that on my college blog here:
http://vartakblogs.blogspot.com
please provide me the link where you downloaded
ReplyDeleteturbo c/c++.....it would be really helpful
@ajay
ReplyDeletehttp://cc.codegear.com/item/26014
thanx a lot pritesh
ReplyDeletedude no use of devC for assembly and gcc sux u know
ReplyDeleteuse 32bit version of TC
Hi,
ReplyDeleteIs there a way to use borland in linux wiht the ide as we can make better college projects with that.
I agree even my college says you must use turbo c or borland no gcc or any other compiler.
Cheers,
Vishal
Thanks a lot......
ReplyDeletebut there's a problem
its unable to include the header files
how do i solve that??
Hi i was working with turbo c and i found something interesting:-
ReplyDeletehttp://www.codeblocks.org/downloads/5#linux64
Now linux is fun ;)
Shobit mount your linux folder containing tc as c:
ReplyDeletedosbox
Z:\>mount c ~/Desktop/
c:cd tc/bin/tc.exe
you are done.
we are not generally allowed to use gcc because of minute differences in source code we write.
ReplyDeleteeg-void main() //not acceptable by gcc
only "int main(void)"
install.exe command is not working!! plz help
ReplyDelete@harini
ReplyDeletewhat error are you getting?
i created a new directory inside my c: called setup then typed in the install.exe command but the response is illegal command :install.exe
ReplyDelete@harini
ReplyDeleteDid you do this step:
mount c ~
c:
cd setup
install.exe
??
do all the steps once again, don't miss any
im using a ubuntu 9.04 if that helps and dosbox did get installed with the command apt-get install dosbox
ReplyDeleteitz working fine till cd setup
ReplyDeletebut the install.exe is giving an error saying
illegal command :install.exe
Go to your Home directory and create a folder setup and keep the extracted files there.
ReplyDeleteThen open DosBox and perform the otehr steps
it got extracted as a package!! where do i find the extracted files??there weren any...
ReplyDeleteit got downloaded as a package...there weren any files for extraction anywhere
ReplyDeletepaste the zip file you downloaded in your home directory and right click it and then select extract files.
ReplyDeletechange the folder name to setup
no no there weren any zip files at al !!! i gave in the command apt-get install dosbox
ReplyDeleteit downloaded the package and opened the dosbox emulator terminal directly !! :(
i found it on application>games as well...
Download the turbo c compiler here:
ReplyDeletehttp://cc.codegear.com/item/26014
extract the zip files in home directory in a folder called setup
it was available on this page n i tried it out as well..
ReplyDeletei went through the procedure filled the form etc but itz saying im not an authorized user
is there any way u can mail the zip files to me ?? im sorry but if u can help otherwise it would be nice too !!thanks
hey i got c installed in my system as per ur instructions i m able t complile it but its not runnin....d whole screen vanishes as soon as i press ctrl+f9...dono y ...
ReplyDeleteare you people crazy? Turbo C on Linux? seriously what the fuck is wrong with you? Turbo C is the biggest piece of shit ever.
ReplyDeletetell your instructors who insist on Turbo C to fuck off. Use CodeBlocks or any other free standard C compiler. make your code standard C, and it will be able to be compiled in their crap Turbo.
i dont know what is wrong with India, that all your colleges insist on Turbo C. the admins, must be getting bribes and kickbacks from Borland, that's got to be the only excuse.
or maybe its a larger conspiracy to keep you people hopelessly incompetent, so that the only jobs you'll take from the West are our call centers and tech support?
Hey thanks dude....
ReplyDeleteU realy helped me.I too need this..
But i'm facing a problem.I'm nt able to get the header files.So program is not compiling.How to clearly set the path,u hav to tell me...
I'm nt able to munt as per the instructions above this page.
The error i'm getting is "You are still on drive Z:,change to a mounted drive with C:."
and also "Usage MOUNT Drive-Letter Local-Directory"
How to fix.. Help me.
Moreover i'm ashamed by this comment.
_________________________________________________
"November 24, 2009 2:00 AM
JoeSchmoe said...
are you people crazy? Turbo C on Linux? seriously what the fuck is wrong with you? Turbo C is the biggest piece of shit ever.
tell your instructors who insist on Turbo C to fuck off. Use CodeBlocks or any other free standard C compiler. make your code standard C, and it will be able to be compiled in their crap Turbo.
i dont know what is wrong with India, that all your colleges insist on Turbo C. the admins, must be getting bribes and kickbacks from Borland, that's got to be the only excuse.
or maybe its a larger conspiracy to keep you people hopelessly incompetent, so that the only jobs you'll take from the West are our call centers and tech support?"
_________________________________________________
Can we do something to create some attention. Here education sucks. Illiterate idiots still rules our educational upper circles. can we make any difference. A movement for good.
Good work, thanks you vary mach.
ReplyDeletein ubuntu dosbox while working in compiler the arrow keys are not working we have to use mouse & backspace button to edit the program in c & c++ please tell me the solution on my email id : rajesh_gos@rediffmail.com
ReplyDeleteHI!!!
ReplyDeleteI TRIED THE METHOD...
ITS GREAT...
BUT I HAVE TWO PROBLEMS
1. THAT THAT TC 1.01 IS THE "C" BUT NOT C++
2. IF I INSTALL TURBO C++ 3.0 THIS METHOD,IT INTALLS,BUT AT COMPILATION OF THE PROGRAM,IT DOESN'T INCLUDES THE HEADER FILES
Works Fine.. Thank you
ReplyDeletethanks so much
ReplyDeletethanx dude.. i got it........
ReplyDeleteby R.A.J
at DOSBOX it gives an error
ReplyDelete"directory c: doesnt exist""
plzzz help....
i can not download turbo c++ please get a easy link,me from bangladesh
ReplyDeleteHI
ReplyDeleteThanks for great tutorial!
I have TurboC++1.01 installed on DOSBox in Ubuntu10.04 LTSLLynx now (dl from http://www.uv.tietgen.dk/staff/mlha/download/dos/). I haven't tried it yet but am sure it will work!?
I agree with JoeSchmoe about the need for TC though but I do not know how to avoid the need for graphics.h in those C/C++ programs using BGI TC? I am going to look into getting this sorted so I can do graphics coding in C/C++ with gcc & g++ without DOSBox.
But for now I can at least use C/C++ turboC code in Ubuntu with DosBox.
Thanks for your help
for turbo c ++ v3.00 install a free way visit sohel4s.blogspot.com
ReplyDeleteThanks, this really is helpful.
ReplyDeleteAnother tips:
Since DOSBox works almost like Command Prompt, after the Turbo C++ installed it can also be run by only typing:
c:\tc\bin\tc.exe
wowww...helped me alot...
ReplyDeletereally thanks..
but
when i maximised the window, it doesn't looked really good.
anyway thanks again.i tried many tips but this was the one tht is actually working..
Thanks, I have to use turbo prolog.
ReplyDeleteTHANKS A MILLION BUDDY.... YOU SAVED MY WORK.
ReplyDeletehi,
ReplyDeletei am new in c,plz help me to install turbo c in linux.
I wish I could have "Liked" your post. You really made me laugh at the initial stage.
ReplyDeletehi friends ...
ReplyDeletei am using ubunutu 10.10.
and there is no windows in my laptop.
i don't want to use gcc because it does not contain header files like conio.h.
can anyone help how to get turbo c in my ubntu . i have downloaded dosbox and wine.
thanks in advance...................
dude i cannot download tat file frm de link which u gave..it says im not authorized...i registerd ter but still its saying de same..can u plz help me...i need it badly..
ReplyDeleteThanks a lot man !!!
ReplyDeleteHow to run grpahics.h programs????
ReplyDeleteI'm in the same situation here in Argentina. I can not believe that is still taught in this way. Also, all the computers in the lab run windows 98!!! Why!!!!
ReplyDeleteBut anyway, thank you for the info.
is there any .jar file of Turbo C++. For specially java based phones.
ReplyDeleteso we can make programs via mobile.?so we can make programs via mobile.?
ReplyDeleteThat's exactly what I was looking for. Here in Male' we've got Indian Teacher, teaching Indian Methods on this piece of software. I use Uberstudent and nothing else. Now finally I can finish my assignment :D Thanks
ReplyDelete