is C++ a dot net language

G

Guest

Sorry for this but to settle an argument

Is C++ a dot net language, I say that it isn't and it has interoprability
with dot net through extensions and what not, plus it been around longer than
dot net, it allows multiple inheritance where as c# and vb.net don't you
inherit from one object and implement from other objects (is this right?)

Where as my boss thinks it is a dot net language because he's seen something
that says c++.net.

Please settle the argument for me and I will eat humble pie if I am wrong

cheers

Well
 
G

Guest

C++/CLI is definitely a bona fide .NET language.
It also allows you to do unmanaged stuff, but that doesn't take away from
the fact that it's a .NET language.
--
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C#/VB to C++ converter
Instant Python: VB to Python converter
 
S

Scott M.

steven scaife said:
Sorry for this but to settle an argument

Is C++ a dot net language, I say that it isn't and it has interoprability
with dot net through extensions and what not,

I agree. Not to mention that you can write completely unmanaged code (code
that doesn't use the .NET Framework) with C++.
plus it been around longer than dot net,

Well, that doesn't mean much. VB has been around longer than .NET, but VB
is now a .NET language.
it allows multiple inheritance where as c# and vb.net don't you
inherit from one object and implement from other objects (is this right?)

Not quite. The ability to inherit from more than one object at a time is
called "multiple" inheritance, and you're right, C# and VB .NET don't allow
for that. But, both languages do allow for inheritance of one class AND
implementation of one or more interfaces.
Where as my boss thinks it is a dot net language because he's seen
something
that says c++.net.

Microsoft is dropping the ".NET" moniker for Visual Studio in the 2005
product. Does that mean that VS 2005 isn't .NET? No, it's just the product
name.
 
W

William DePalo [MVP VC++]

steven scaife said:
Sorry for this but to settle an argument

Is C++ a dot net language, I say that it isn't and it has interoprability
with dot net through extensions and what not, plus it been around longer
than
dot net, it allows multiple inheritance where as c# and vb.net don't you
inherit from one object and implement from other objects (is this right?)

Where as my boss thinks it is a dot net language because he's seen
something
that says c++.net.

Please settle the argument for me and I will eat humble pie if I am wrong

The argument is as much about words as anything else.

There is an ISO standard for the C++ language but you'd be hard pressed to
find a compiler for it. Comeau is an exception here.

MS has THREE dialects (my word) of C++ none of which track the standard
exactly.

The first usually goes by the product name "Visual C++" or "VC++" and is the
one closest to the standard. It targets native Win32 platforms.

The language called "Managed Extensions for C++" aka "MC++" has support for
the .Net framework v1.1 (maybe 1.0 as well, I'm not sure). Its compiler can
generate both native and managed code and unlike all of the other .Net
languages it is capable of mixing both in the same application and even in
the same module. It excels at interop.

C++/CLI is to .Net v2.0 as MC++ was to v1.1. It has a much more elegant
syntax and has been proposed as an ECMA standard.

There is enough gray here for each of you to claim he is correct and move on
to something less contentious - like politics or religion. <BG>

Regards,
Will
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top