Microsoft/Borland C/C++

Eize Oosting eoo at let.rug.nl
Fri Jun 7 23:59:41 AEST 1991


In article <1991Jun05.183949.2909 at lut.ac.uk> S.Culverhouse at lut.ac.uk (Bizee Bee - Simon C.) writes:
>
> Hi,
>
[Stuff deleted]
>
> 1) What are the main advatages of C++ over C, are there any ?
>
There are a couple of things, but the main thing is that you can use objects.
Not the so-called TurboPascal objects, but real objects. That means that you
can define a struct (called class), and add operators to them, so that you can
say:

MyType Foo, Bar;

Foo = Foo * 2 + Bar;

(In TP you still would have to do something like: Foo := Bar.add(Foo.times(2));)

But there are some more advantages. You can make things happen automattically
when you declare vars etc.


> 2) Are Microsoft bringing out a version of C++ in the near future ?
>
I really don't know.

> I have experimented with Borland Turbo C++ on a friend's PC, to compare it with
> my Microsoft QuickC / Cv5.1.  So far I have been unimpressed with Turbo C++,
> especially with the environment.  Although the code I used, developed under
> QuickC, usually compiled first time, without any problems, on the Turbo C++, I
> found that it took longer to do so, and indicated that it was eating up memory,
> at such a rate, that if I had tried to compile anything larger, it would not 
> have coped.  It also looked to me, as though MS-C actually produced faster code
> especially with screen handling routines.
>
Perhaps your last statement is true, but the rest: you are kidding right?
You probably have your QuickC taking only one pass, so that you don't have
any optimisation. Be aware that TC does this in only one pass. And even then
you might compile a little faster, but have you compared Linking time?
Now THERE is a difference, and when I say difference, I really mean DIFFERENCE.
The Microsoft Linker is SLOOOOOOOOOOWWWWWWW.
About the memory eating stuff: Don't let your files grow too big, but separate
it, and make a project (or makefile). That will reduce compile time too.
It's completely unnecessaru and stupid to recompile way along finished code
every time again.

> In general I still prefer good old Microsoft C, and am relutant to change.  I
> am however open to suggestions and views on the two compilers, and would
> apreciate any mail from other MS / Turbo C users.
>
I can understand that you want to stick to what you are used to, everybody does.
Besides, both compilers are good compilers. The difference is not that big, 
however, why weren't you impressed by the new windows on TC++. The new IDE is
a big improvement (when you have a mouse).

  /\__________/\   /\___________________________________________________/\
 /              \ /                                                       \
|   Letteren-    |  Marvin Minsky once defined Artificial Intelligence as: |
|   Faculteit    |   '... the science of making machines do things that    |
| R.U. Groningen |   would require intelligence if done by men'.           |
| The Netherlands|                                                         |
|                |  Does this include formatting a floppy?                 |
| eoo at let.rug.nl |                                           Eize Oosting  |
 \  __________  / \  ___________________________________________________  /
  \/          \/   \/                                                   \/



More information about the Comp.lang.c mailing list