+ 65
And IIRC, it was written for DOS...which does not run in CPU Protected Mode*...like literally everything else. At some point, the Borland compilers were so tightly linked with the command interpreter that they crashed (RT error 200) when Microsoft changed the DOS version number.
This would be really hard to find a reference to, but most sources attribute it to a timing error (one of the problems with history...that's not quite right/but things get lost). The point is...this isn't just out of date. It's ancient...they did things differently then and it's a little hard to see where it fits (though arguments 'for' could be intriguing).
* The only thing that comes to mind is accessing old ports and registers (like port 0x60 for the keyboard buffer)...and that is limited to BIOS systems whose electrolytic capacitors are stable for 8-10 years, max...less in arid areas. For less cost you can get raw embedded hardware experience on Arduino, Raspberry Pi, even a Linksys router flashed with DD-WRT. That said, I'd love to know if someone finds a niche we skipped.
+ 44
I remember back when I just started Comp. Sciences in University. Lecturers' notes had <iostream.h> in it, which caused so much chaos and confusion among the new learners which were on modern compilers in the newly upgraded labs. While TCC has served well the past two decades, let's all move on.
+ 24
@Ace
Though everyone knows this compiler is indeed useless...
If you search on google :
Turbo C++ for Windows 10 64 bit,
You get successful results... :(
Why? When would people stop?
+ Indian Schools cannot live without Turbo C++, as it is 'recommended' by our Education Board...
+ 18
@Kinshuk: You are completely right on this topic. I am one of those early hour programmer starting with DOS 1.1 so a longtime ago. I just recently started to get involved into programming again and embrace the new functionality and broader range of programming languages. Like you said, it's time to move on. If you can't follow the pace you are in a wrong profession. You should always keep in mind, that once you start coding you will be forced to learn the rest of your coding life. That has always been that way and it will never change neither. When I started in 1977, changes came so quickly that whatever you learned a month ago was obsolete faster than you could grasp it most of the time. So who's complaining ?
+ 17
For Turbo rider
time to change your ride to modern age.
+ 17
I recently saw a post that how Turbo is nice and great...
Heres a copy of my reply to that...
How is turbo great when it doesn't let me use:
namespaces,
templates,
structs with constructors
metaprogramming
windows.h
winsock.h
string
lambdas
rvalue references
move constructors
chrono and other new headers
vectors
and what not...
Why don't you people realize?
We live in 2017 and must let go of a thing last updated in 1996!
On one side, we wish to make super strong independent AIs and on the other, we can't leave Turbo C++.
Go make an AI in that...
+ 14
use Code::blocks IDE its best ide for c/c++
+ 13
yeah yet in our school it mandatory to use tcc and they follow old standard.
But if you think this is crazy then wait.....you know they also for c++11 and still they follow the old version
+ 8
Turbo c also consume more CPU and it is to old
+ 8
@Nonzyro, Borland C++ Compiler is actually for 16 bit code.
+ 7
Thank God I have never used Turbo C++ before and never will
+ 6
This seems fit to be posted here:
http://members.gamedev.net/sicrane/articles/iostream.html
+ 5
@Naveen Maurya
Even Code::Blocks hasn't been updated since a long time, as the Compiler they provide is GCC 4.9.2. However, in both the IDEs or atleast in CodeBlocks, you can manually update the compilers or add a different one. That is why I think it is fine to use DevC++, as atleast the compiler it uses knows what a namespace is, unlike TCC.
+ 5
See my newest comment, i have finally initialized graphics in turbo c++.
https://www.sololearn.com/discuss/626016/?ref=app
+ 4
@Annatoli
I wish other people could think about my answer like you do.
If you go in Q/A section and type turbo in the search box, you'll be amazed to find how many people are engaged with that old compiler.
My reply to all those people:
I think all of you prefer Pac-Man over Call Of Duty - Infinite Warfare, or Windows NT over Windows 10...
+ 4
i used to use TCC in our school(They're still using that TCC), We have to write #include<iostream.h> in tcc but when i write it here it shows 'No such Directory found' i was like 😱😱
+ 4
codeblocks is the best!!
+ 4
OMG: Stumbled on this thread and just _noooo_. Thanks Ace for pointing this out.
GNU C/C++ compiler is modern and _free_ so there is _no_ excuse to use TCC. India Board of Education: get your heads out your asses. Everyone else: stop justifying it. Code::Blocks is a portable IDE so there. Though students should _not_ be using one, they should be using the console to compile or they'll _never_ understand the _linker_ and then they can use makefiles when projects grow.
As for the compiler, C++ was only properly standardised in the late 1990s. TCC lacks that.
Worst of all: _we're running 64bit systems today_ and a compiler from then would be 32 or 16 bit.
Imma leave it here /rant.
+ 4
There is a question.
I have been avoiding Turbo since long.
But, do I also need to avoid DEV C++?
I have heard that it has also not been updated for long(maybe 2005 if I remember correctly). I am currently using it and suggestions are welcome.
//It uses g++ compiler!
+ 4
Amol
GCC, CLang, or MSVC*
I would use GCC because it has never let me down and has a plethora of architectures and platforms supported.