473,785 Members | 2,465 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Turbo C++?

I am taking advanced C++ at college and we use Borland Turbo C++ 4.5 compiler.
How different is Turbo C++ from the standard C++?
I know Borland used to call their versions of C++ and Pascal Turbo,
but that was a long time ago; even the 4.52 compiler is old.

This is a requirement for the 4 year BS degree in comp sci,
which is a shame as I feel the students shouldnt be taught
on old crap.

Is it very important to learn C++ on the newest compilers, such as
Borland's 5.5, Visual C++ or VC++.net or
or are old compilers, even DOS ones, good enough for the basics.

--------------------------------------------------
remove *batSPAM* to e-mail me
--------------------------------------------------
Jul 19 '05 #1
6 13853
> I am taking advanced C++ at college and we use Borland Turbo C++
4.5 compiler. How different is Turbo C++ from the standard C++?
I suppose that it's very different due to its age.
This is a requirement for the 4 year BS degree in comp sci,
which is a shame as I feel the students shouldnt be taught
on old crap.
I think that the aims of an academic degree shouldn't be teaching
specific technologies in detail. So for this purpose, the old Turbo
C++ compiler is ok.
Is it very important to learn C++ on the newest compilers, such
as Borland's 5.5, Visual C++ or VC++.net or or are old compilers,
even DOS ones, good enough for the basics.


For your early steps the old Turbo C++ compiler should be sufficient,
but it is absolutely not suitable for real-world-programming today.
Jul 19 '05 #2
"Oliver S." <Fo*******@gmx. net> writes:
I am taking advanced C++ at college and we use Borland Turbo C++
4.5 compiler. How different is Turbo C++ from the standard C++?
I suppose that it's very different due to its age.
This is a requirement for the 4 year BS degree in comp sci,
which is a shame as I feel the students shouldnt be taught
on old crap.


I think that the aims of an academic degree shouldn't be teaching
specific technologies in detail. So for this purpose, the old Turbo
C++ compiler is ok.


But this is exactly why an old turbo C++ compiler is *not* Ok. The
student's C++ will be sharply limited by (and distorted by) the
limitations of that specific technology which is the old turbo
C++.

Further, it is best for the student to learn the high-level, easily
used parts of C++ first, such as std::vector<>, and so forth. That
old compiler doesn't support vector<> .
Is it very important to learn C++ on the newest compilers, such
as Borland's 5.5, Visual C++ or VC++.net or or are old compilers,
even DOS ones, good enough for the basics.


For your early steps the old Turbo C++ compiler should be
sufficient,

[snip]

No, I'm sorry, I don't think so. Most of the early examples from
reccomended beginners books on C++, such as Koenig & Moo's
Accelerated C++, will not compile on that compiler.
Jul 19 '05 #3
"Developwebsite s" <de************ *@aol.combatSPA M> wrote in message
news:20******** *************** ****@mb-m18.aol.com...
| I am taking advanced C++ at college and we use Borland Turbo C++ 4.5
compiler.
| How different is Turbo C++ from the standard C++?
| I know Borland used to call their versions of C++ and Pascal Turbo,
| but that was a long time ago; even the 4.52 compiler is old.

If it is an "advanced C++" course, it really seems ridiculous not
to use a more recent version of Borland's *free* compiler (v5.5:
see http://community.borland.com/article...,20633,00.html ).
Or gcc, of course...

| This is a requirement for the 4 year BS degree in comp sci,
| which is a shame as I feel the students shouldnt be taught
| on old crap.
|
| Is it very important to learn C++ on the newest compilers, such as
| Borland's 5.5, Visual C++ or VC++.net or
| or are old compilers, even DOS ones, good enough for the basics.

The fact it is a "DOS" or command-line compiler is not a problem
IMHO, although an IDE can help (why not the free DevC++, found
at http://www.bloodshed.net/devcpp.html ).

This said, it all depends on the scope of the course: does 'advanced'
include templates and the standard library ? Or does it just mean
something like 'classes and polymorphism' ?
If the course is relatively basic, an older compiler might be ok.
If not, given that we are talking about free tools, ...$@#...

Cheers,
Ivan
--
http://www.post1.com/~ivec <> Ivan Vecerina
Jul 19 '05 #4
llewelly writes:
Further, it is best for the student to learn the high-level, easily
used parts of C++ first, such as std::vector<>, and so forth. That
old compiler doesn't support vector<> .


As far as I am concerned the jury is still out on what the teaching sequence
should be. It is far from clear to me that the 'magical' part should come
first. I guess one of my biggest problems is that it is hard to motivate
the student to learn the "old ways" when he has already learned the modern
way; which I suspect is often horribly inefficient. Why learn hash tables
when there is "push_back" or whatever?

Having said that, I am still a bit disturbed that the OPs school seems to
have a considerable lag on the learning curve. It almost seems that they
are contemptuous of the students to use that old compiler for the course he
describes. As though they can't be bothered with trivia. I wonder if the
English course work in the same school is expected in Word Star format?
Jul 19 '05 #5
> I am taking advanced C++ at college and we use Borland Turbo C++ 4.5
compiler.
How different is Turbo C++ from the standard C++?
I know Borland used to call their versions of C++ and Pascal Turbo, but
that was a long time ago; even the 4.52 compiler is old.


I think I'm doing a similar sort of student programming thing to you. I am
currently using Borland's free command-line C++ compiler from:

http://www.borland.com/products/down..._cbuilder.html

(read the readme after download)

You have to register, but that's not a problem. It's free. I am compiling
code on it that AFAIK uses standard C++. I got bloody annoyed with it at
first as it wouldn't compile the "Hello World" program from a 1997 copy of
"C++ in 21 days" (Old syntax). But I was recommended Accelerated C++ by
Koenig & Moo. Things are now MUCH easier. It even seems to run the same
(syntax adapted) programs than my old compiler.

I WOULD BE WARY THOUGH, if you are using old compilers in college, as you
may be restricted with your support - If your demonstrators only know the
older syntax, you might be stuffed when it comes to help with debugging :)

Alex

--
Reply to:alex an.ti livingstone sp@am btinternet.com cutting the usual...
Jul 19 '05 #6
"osmium" <r1********@com cast.net> writes:
llewelly writes:
Further, it is best for the student to learn the high-level, easily
used parts of C++ first, such as std::vector<>, and so forth. That
old compiler doesn't support vector<> .
As far as I am concerned the jury is still out on what the teaching sequence
should be. It is far from clear to me that the 'magical' part should come
first. I guess one of my biggest problems is that it is hard to motivate
the student to learn the "old ways" when he has already learned the modern
way;


I have worked with people who learned the low-level parts of C++
first, and people who learned the high-level parts first. With
a few exceptions, the latter tend to be better programmers. For me,
for C++, the jury is closed. I learned the low-level stuff
first, and I used to believe that was the best way, but working
with people who didn't has changed my mind. I do agree that
students should learn how to implement all the basic data
structures, preferably movitated by an example of where a
hand-rolled tool can do better than the standard library. (This
would require some care in designing the assignment, but I think
it is do-able, except perhaps in the case of vector<> .)

which I suspect is often horribly inefficient.
Stop suspecting and measure. If you measure, you'll have some idea of
when the standard library is better, and when it's better to write
your own, or use an alternative. If you don't measure, you can't
make any large program efficient anyway.

In my experience the performance effect of the STL is to save lots of
time when one is writing the 90% of code that takes up 10% of the
time, which leaves one with more time to implemented optimized
special purposed data structures and algorithms for the 10% of
code that takes up 90% of time.

Of course, the last few places I worked, we treated the compiler like
that too; several performance crucial areas were re-written in
hand-optimized assembler. And the difference between
hand-optimized assembler, and compiler-generated, is *a lot*
bigger than the difference between the STL and hand-optimzed data
structures.

(Note: string, and iostream, which are part of the standard library
but not part of the STL, are usually implemented in a manner that
is inefficient for many (but not all) common operations.)
Why learn hash tables
when there is "push_back" or whatever?
I'm sorry, I don't understand your reference. SGI hash_map, hash_set,
do not support push_back .
Having said that, I am still a bit disturbed that the OPs school seems to
have a considerable lag on the learning curve. It almost seems that they
are contemptuous of the students to use that old compiler for the course he
describes. As though they can't be bothered with trivia.
Agreed.
I wonder if the English course work in the same school is expected
in Word Star format?


:-)

Jul 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
7638
by: marek | last post by:
Dear colleagues, for one project, I need to link Turbo (or Borland) Pascal with (Turbo) C code. I would strongly like to avoid rewriting (my) C routines to Pascal (other part of project is under Unix [yes, I know about gpc and fpc...), and my clients are medicine doctors, who reject to program in other lang. than Pascal. Linking of Turbo C 2 and TP 5.5 from Borland's "Antique software" works, but there is a well-known problem with...
3
2354
by: riku | last post by:
Does any1 know a site where i can download Turbo Pascal for free and is not a trial version. If you do, can u please tell me?
0
1518
by: bitong | last post by:
I was just wondering when I installed a Turbo C in my computer..When I'm about to run my work it says there unable to input turbo.c..What does it mean? I already consolidated all the turbo C files in one folder and opened the tc.exe in the same folder..But whenever I compiled it, it says success, but if I'm going to run the program it say unable to input turbo.c
1
3714
by: anonymous | last post by:
i wrote a graphical program in turbo c 3.0 ,it runs safe on turbo 3.0,(however i'm using xp) so when i wanted to run it for my teacher,both turbo c & program crashed; so i decided to compile it in turbo 4.5 because i heard that it is running under windows ,so when i wanted to compile it this eror appeared: bgi graphic does not support under windows; so my question is: 1.should i use another header file except graphics.h or should i use...
16
3495
by: scott | last post by:
I am looking for a copy of Turbo C 1.5 from 1987 for some historical research I'm doing into computing from that time period.
0
3874
by: anonymous | last post by:
i wrote a graphical program in turbo c 3.0 ,it runs safe on turbo 3.0,(however i'm using xp) so when i wanted to run it for my teacher,both turbo c & program crashed; so i decided to compile it in turbo 4.5 because i heard that it is running under windows ,so when i wanted to compile it this eror appeared: bgi graphic does not support under windows; so my question is: 1.should i use another header file except graphics.h or should i use...
4
1868
by: Herhor | last post by:
Recently Borland has been hyping its new line of RADs called "Turbo" as an ultimate tool for beginning programmers. Are these products really match for Microsoft's "Visual Studio"?
3
5930
by: postrishi | last post by:
Hello Everybody , I am a new user. I am currently using Turbo C++ 3.0 editor in my engg.Can you tell me or post me a ebook on turbo c++ and NOT on c or C++.MInd it I want a book on TURBO C++ editor and not on programming language C/C++' Moreover can you tell me that how do i give dos based commands use a c program.
4
6355
by: Abe Kobei | last post by:
Hello. Is there an official website to obtain Turbo C 1.0? I know that I can download Turbo C 2.0 from Borland, but I want a smaller version, because I expect that older is smaller. I want smaller one because I want to put the compiler to 1 floppy disk with some other marginal space in it.
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9491
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10357
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10163
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9959
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5532
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4063
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.