🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

4 total messages Started by Joseph A. Fisher Thu, 09 Apr 1992 03:58
Templates in MS C++ 7.0 ???
#98
Author: Joseph A. Fisher
Date: Thu, 09 Apr 1992 03:58
28 lines
2005 bytes
>|Hey Microsoft, if you're listening and you are planning a
>|response to Borland's scathing ad in the latest PC Week, how
>|about this -- "Sure we may be slow, but at least you can
>|build real applications with our product".

> Again, as one Microsoft C++ programmer, I can only say that my personal
> experience comparing the C7 and the Borland 3.0 products completely contradicts
> the Borland advertising claims.  Again, I encourage serious programmers
> to ignore the advertising claims, and compare *product* as actually
> applied to your real, actual, programming tasks.  Competitive update
> policies should make it affordable for people to make these comparisons,
> thus choosing the best compiler for their particular programming projects.
> Again, a particular programming team has more to gain or lose from their
> choice of compiler than either Borland or Microsoft.  Take some time
> to learn the different products, libraries, debuggers, etc, lest you make
> mistakes in your analysis.  A day or two is not sufficient to accurately perform
> these analyses.

   I am making great use of templates in Borland C++ 3.0. Can Microsoft
C++ 7.0 support templates at least as easily as Borland. Borlands add claims
you can't. Our programming group will not be able to use Microsofts
compiler if they can't support templates. Templates are very, very
important in our software design.

-- 
Joe Fisher
fisherj@ucs.orst.edu
Oregon State University
Re: Templates in MS C++ 7.0 ???
#99
Author: Pete Becker
Date: Fri, 10 Apr 1992 16:21
15 lines
1163 bytes
In article <1992Apr9.035806.3662@talon.ucs.orst.edu> fisherj@ucs.orst.edu (Joseph A. Fisher) writes:
>
>   I am making great use of templates in Borland C++ 3.0. Can Microsoft
>C++ 7.0 support templates at least as easily as Borland. Borlands add claims
>you can't. Our programming group will not be able to use Microsofts
>compiler if they can't support templates. Templates are very, very
>important in our software design.
>

	Microsoft provides a template preprocessor.  To use it, you write your
template definition, and run the preprocessor with some command line switches
to tell it which instantiation you need.  This produces compilable C++ code.
It's up to you to keep track of which instantiations you need.  As I recall,
it supports class templates but not function templates.
	-- Pete
Re: Templates in MS C++ 7.0 ???
#105
Author: Human Resources
Date: Mon, 13 Apr 1992 15:55
14 lines
1096 bytes
See recent edition of MS Journal for full details.

>>   I am making great use of templates in Borland C++ 3.0. Can Microsoft
>> C++ 7.0 support templates at least as easily as Borland. Borlands add claims
>> you can't. Our programming group will not be able to use Microsofts

Templates are C++ 3.0 spec.  MS C++ is at 2.1 spec.  For templates they
supply a "preprocessor" which you run on your code with templates and then
run the compiler.  MS position is that spec 3.0 (i.e. templates) are 
"controversial".

However, Do you use exceptions? Part of 3.0 spec.  Does Borland 3.0 have exceptions.
No....
Re: Templates in MS C++ 7.0 ???
#103
Author: Lynda Timmerman
Date: Tue, 14 Apr 1992 15:27
14 lines
1213 bytes
In article <1992Apr10.162148.29104@borland.com>, pete@borland.com (Pete Becker) writes:
|> In article <1992Apr9.035806.3662@talon.ucs.orst.edu> fisherj@ucs.orst.edu (Joseph A. Fisher) writes:
|> >
|> >   I am making great use of templates in Borland C++ 3.0. Can Microsoft
|> >C++ 7.0 support templates at least as easily as Borland. Borlands add claims
|> >you can't. Our programming group will not be able to use Microsofts
|> >compiler if they can't support templates. Templates are very, very
|> >important in our software design.
|> >

According to the May issue of Computer language, the Microsoft C++ 7.0 supports version 2.1 of
the language.  Borland supports version 3.0 (??).  There aren't templates in 2.1.

AC
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads