Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C++ vs. VB.Net 1

Status
Not open for further replies.

THOMASNG

Technical User
May 3, 2002
254
US
It looks like the discussion has morphed into this issue.
a) Are C++ and Visual Basic the same?
b) Are the target audiences the same?
c) Are the purposes the same?
 

if you are talking about the other thread then your question should be
C# versus VB.Net
...
...
 
Is C# different than C++? (I thought it was just a shorthand.)
 
Very different... C# is a more high level language as compared to C++, which is an odd combination of some high level functionallity, but is really a hard core low level language which gives you access to just about everything you could want.

C++ also is not a microsoft only product as I believe C# still is.

-Rob
(tired and writing half understandable explanations.)
 
C# is a completely different language, which happens to have a bunch of similarities to C/C++
 
Someone had mentioned in the previous thread that C# could do things that VB.NET could not? Can anyone give an example of something that C# can do that VB.NET cannot? The only things I can think of are really syntax related.. like case sensitive variables etc.. (curse the programmer who wants to use MYvar and myVAR as separate variables!)
 
Thanks for clarifying this! I mistakenly thought that C# and C++ were the same thing.
 
Just a quick one,

Does code developed with Visual C++ .NET require the .NET framework? or can it compile to executable?


Take Care

Matt
If at first you don't succeed, skydiving is not for you.
 
Both, Both

When you call in Visual C++.NET the unmanaged classes you can build an executable that don't need the .net runtime.

If you use managed (.net classes) and unmanaged classes you will need the runtime. There is still an executable generated to run. But it only runs when the runtime is installed.



Charl
 
I know we're getting off topic here... but could you expand on that RedLion? I haven't even been able to make a hello world program with C++ .NET that doesn't require the framework.

-Rob
 
I have don't have a workstation visual studio .net here, but I'll come back to it. As I can remember there where some settings in the environment.
 
russellbcopeland;

One of the diffences, which is not syntax related and jumps right in mind, is that VB.NET does not allow operator overloading, whereas C# does. And, of course, to some degree, C# allows the use of pointers.
Greetings,
Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top