Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack (1) Thread Tools Display Modes
Old 09-01-2010, 08:21 AM   1 links from elsewhere to this Post. Click to view. #1 (permalink)
In The Zone
 
Join Date: Sep 2005
Posts: 227
Default Turbo C++ alternatives for Linux?


Hey,
Im in class 12 right now, and pretty much a linux noob. How do I get the non ANSI code that we do in school to work? I tried installing g++ via build-essentials but it didn't support it. Even tried geany but no help there either. Is there a way for me to install the borland c++ compiler (v5.5 from the Relo thread) to work with gedit or anjuta or geany or something else entirely?
I really don't want to log back into windows.
__________________
Our deepest fear is not that we are inadequate Our deepest fear is that we are powerful beyond measure
karmanya is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 09-01-2010, 09:07 AM   #2 (permalink)
In The Zone
 
Join Date: May 2006
Location: chennai
Posts: 430
Default Re: Turbo C++ alternatives for Linux?

Please go through the following links, nd post your results here. this might have helped many students here.

http://dogbuntu.wordpress.com/2007/0...-ubuntu-linux/
http://www.ubuntugeek.com/how-to-ins...c-program.html

http://pingusays.blogspot.com/2009/0...-in-linux.html
vaithy is offline  
Old 09-01-2010, 09:56 AM   #3 (permalink)
In The Zone
 
Join Date: Sep 2005
Posts: 227
Default Re: Turbo C++ alternatives for Linux?

Yeah i saw the links when i googled it too. The second method doesn't work. G++ doesn't support non ANSI c++. Im not sure if I want to emulate dos.
__________________
Our deepest fear is not that we are inadequate Our deepest fear is that we are powerful beyond measure
karmanya is offline  
Old 10-01-2010, 09:53 AM   #4 (permalink)
In The Zone
 
Join Date: May 2006
Location: chennai
Posts: 430
Default Re: Turbo C++ alternatives for Linux?

h..mmm..
Turbo C++ essentially used tied with DOS/windows api, and very much restrictive, mainly used in Indian Schools and colleges with eye on marks. The people who insist on Turbo C are not well advanced in knowledge/ backwards to Ten years ..that is why gcc and devC moved forward..
You want a DOS based complier to work with non- DOS based OS.. now what is the requirement..You are a programmer and has the ablilty to analysis the given problem..
You want a Diesel Car to move with Petrol .. Think again..
Go to the terminal:
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.

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 :
Code:
mount c ~
c:
cd setup
install.exe

This will start the setup of Turbo C.


After setup is finished , do this:
Code:

c:
cd TC\bin
tc.exe



Now everytime you want to run Turbo C++ start DOSBOX and then type in the following:
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.
source:
http://helpforlinux.blogspot.com/200...in-ubuntu.html

Read not only the tutorial but also the comments section,where many posted as same problems that you faced.
(P.s. I am a Non-I.T Guy so no programming level experience so don't took my comment /posting seriously.Make google your GOD.. that is all)

Last edited by vaithy; 10-01-2010 at 10:20 AM.
vaithy is offline  
Old 10-01-2010, 03:09 PM   #5 (permalink)
ico
.
 
ico's Avatar
 
Join Date: Jun 2007
Location: New Delhi
Posts: 8,944
Default Re: Turbo C++ alternatives for Linux?

Vaithy is spot on with DOSBox and Turbo C++ suggestion.
__________________
.
ico is offline  
Old 10-01-2010, 07:55 PM   #6 (permalink)
AFK
 
thewisecrab's Avatar
 
Join Date: Oct 2006
Location: Bombay
Posts: 1,599
Default Re: Turbo C++ alternatives for Linux?

Relo?

MHG had a thread on that
__________________
Follow me on http://twitter.com/thewisecrab

"This Jen, is the internet"
thewisecrab is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.thinkdigit.com/forum/open-source/123765-turbo-c-alternatives-linux.html
Posted By For Type Date
Turbo C++ alternatives for Linux? - Digit Technology Discussion Forum - Tech Discussion Forums in India This thread Refback 02-12-2010 12:53 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Due Kernel I/O error, system refuses to boot randomly gary4gar Open Source 33 04-05-2008 10:22 AM
Intel Turbo Memory Gets Lukewarm Welcome from Mobo Producers. Pathik Technology News 2 16-06-2007 06:13 PM
58 alternatives to Windows Explorer!! blackpearl Software Q&A 27 04-03-2007 06:12 PM
Extensions and Their Definitions Sparsh007 QnA (read only) 3 28-11-2006 07:25 PM
TURBO C fullscreen problem monitor goes blank on exiting TC Sajeev Software Q&A 10 21-10-2005 10:08 PM

 
Latest Threads
- by Charan
- by Charan

Advertisement




All times are GMT +5.5. The time now is 04:43 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2