Turbo C++ ! Please bury it….
Friday, 4 July 2008
Even though we advance to new technologies and say ourselves as technically superior when compared to guys 10 years back, its a sad truth that we need to actually look at out back for the truth. You might be wondering why? Read on…
Engineering colleges are the places where most of the present day engineers have their first programming experience. Naturally we expect them to use those technologies which are provided by the colleges (after all we cant expect everyone to be a geek). If these college admins dont take the initiative to provide latest technologies to the students, what can we expect? Either a student will adapt themselves after finding that they lag or may change themselves after joining a job.
The aim of this post is to tell directly how much Turbo C++ sucks. This crappy compiler introduced long long long back should go or should be banned by LAW! It is one of the main reasons why computer engineers of our college don’t know what actually are coding standards. What the hell is conio.h, clrscr() and getch()? These are not a part of ANSI C recommendations. Using them will make your code unusable on other compilers.
I really have a bad experience dealing with this sucking 16 bit compiler. It eats up so much of processing power as if its almighty and born just to rule over the CPU! Just try minimizing its IDE and opening any other application. You may not be able to open even MS PAINT (at least not for me). The resource utlization is mainly due to the IDE which is named tc.exe . The real compiler is tcc.exe . If you ever want to use this compiler, just invoke tcc.exe via command line. Don’t use the IDE. Ever try to run it in non-full screen mode and see its charm ![]()
Just as a workaround, it would be my job to provide you the alternatives. The best is to use Dev C++ provided by Bloodshed. Howsoever bad it may be (for its critics), its thousands times more efficient than the legacy compiler. Dev C++ is more frequently used a graphical compiler (means with IDE). If you still in love with gcc style compilation using command line, I suggest you to use MinGW. Its a GNU port for windows and has same feel like that of original one. It even has an IDE named Visual-MinGW.
Hope you people would now have nice experience when it comes to programming and building enterprise level softwares on Windows.
No. 1 — July 4th, 2008 at 11:18 pm
eh…stdio.h is a part of the standard C library (libc) as prescribed by ANSI standards. What you probably meant that it isn’t a part of the C library for standard C++, which is absolutely right:)
ANSI C++ has the C library too, but with different names. In this case cstdio for stdio.h . The full list could be found here
No. 2 — July 4th, 2008 at 11:42 pm
Sorry.. I meant conio.h , fixing the typo..
No. 3 — July 5th, 2008 at 1:10 pm
I agree with you fully, when we started using Turbo c++ 2yrs back i had downloaded Dev c++ to code my programs in ANSI standard,IT IS MUCH BETTER THAN TC++
No. 4 — July 12th, 2008 at 5:41 pm
Yes Manish.
We are being taught C++ with Turbo C++ in our senior secondary classes.
And I really love to know, how can we have User Interfaces for programs coded on C++ .
No. 5 — July 12th, 2008 at 5:59 pm
For user interface you need a toolkit for Graphical Frontend. If you want to use traditional C/C++ and use gcc/g++ compiler, you can have access to gtk or qt graphical toolkit for making your apps.
Or jump to C#.NET if you are a fan of Microsoft Technology. Or maybe you can find yourself comfortable with Visual C++
No. 6 — July 12th, 2008 at 6:57 pm
its really a shame that we are being taught on Turbo C++ while most of the (good) colleges have gcc
No. 7 — September 29th, 2008 at 1:08 pm
Well, Actually clrscr() and getch() have been included in curses.h. But mam many other commands have not been accepted..
like gotoxy(), graphics.h, dos.h and many other header files.
GCC rocks.!!!
No. 8 — October 7th, 2008 at 2:23 pm
[...] CodeBytes is the classical coding championship which has the highest turnout amongst all the events under Param. It is to be held tomorrow, 8th Oct. This time this event has been changed quite a lot. The first round is the prelims which contains less than even 20 questions and more than an hour given to solve. Debugging and writing the output of code snippet has been given more importance. Only those who have good understanding of C/C++ are bound to clear this stage. The lab round is not that puzzle round as it used to be. The questions will be quite simple, put the efficiency of the program will be taken into consideration. We would give them simple questions, the marking is to be done on the total execution time of the program. The POSIX time command will be used to calculate the total execution time. People are required to code in Dev C++ with MinGW as compiler. This portable code will then be transferred to Linux systems, compiled using g++ and then using time command, tested for total time use. Note: Turbo C++ is not allowed. We highly discourage this old and crappy compiler. [...]
No. 9 — December 12th, 2009 at 3:10 am
Fantastic post, I didn’t thought reading this was going to be so stunning when I saw your url.