What's the difference betwem C++ and C# ("C beef" or "C gitter")
and what argument is there for learning the language sometime in the near future.
What's the difference betwem C++ and C# ("C beef" or "C gitter")
and what argument is there for learning the language sometime in the near future.
Well english isn't my first language, (it's instead a useless language called danish which only 5 milion people speak!!) so if you think my grammar SUCKS (it does by the way) than you're more then welcome to correct me.
Hell I might even learn something
-MethodMan-
Your Move:Life is a game, Play it; Life is a challenge, Meet it; Life is an opportunity, capture it.
Homepage: http://www.freewebs.com/andy_moog/home.html
NOTHING is different between them in the .NET framework. I'm talking about Managed C++ vs. C#.
They both will run on MSIL "microsoft interpreted Lang." sort of a bytecode like java has. IE. they will both have the exact same performance and MS wants you to use C#, since you gain nothing by programming in VC++.NET.
Regular C++ will be faster than C#, or anything .NET.
my advice is to pick up C# at your leisure, preferrably get a company to pay for your training. Just stick to C++ and you'll be fine for awhile yet.
My Avatar says: "Stay in School"
Rocco is the Boy!
"SHUT YOUR LIPS..."
>they will both have the exact same performance
Which is not 100% true. While the same bytecode will run in the same amount of time, C++.NET, C#.NET and VB.NET for example will not generate the same bytecode from almost equal statements. VB for example will provide overflow checking on additions, while C++ will simply add without checking. This will result in slightly better performance for C++.NET.
hth
-nv
She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."
When in doubt, read the FAQ.
Then ask a smart question.
The differences in the performance of any of those languages will be so insignificant it really is a non-issue. In fact MS says that C# is the optomized version for .NET and that C++.NET exists only for programmers who love C++ and it adds unneeded complexity to the .NET framework. Therefore, most likely C# will be the lang. that will outperform both C++.NET and VB.NET but still in an insignificant way.
If you need to write Networked, Server, Text, anything that doesn't need optomization like a GAME you should probably use .NET - C# preferably.
Otherwise stick to C++ (regular).
My Avatar says: "Stay in School"
Rocco is the Boy!
"SHUT YOUR LIPS..."
It doesn't make sense to me why MS would try and kill off true C++ and old style VB by forcing C# to everyone. Just want to be like Sun with J2EE I guess.
What is this .NET thing you're all talking about?
from what i hear, C# ( i pronounce that as either "see sharp" or "c pound") is just microsofts variation on C++ or java, one of these. i dunno, im all confusled!
~DJ DarkViper signing out
----------------------------------------
My Site:
Black Jaguar Studios
Languages:
Fluent English, Starter German, HTML, Javascript, Actionscript, Intermediate PHP
Verteran Despiser of: ASP, Java, BASIC, Pascal, Cobalt
If you are all confused, then don't provide answers.
If you want to know what C# is, go out and read tutorials, the FAQ, or a book. The compiler is free for download at Microsoft.
hth
-nv
She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."
When in doubt, read the FAQ.
Then ask a smart question.