Question:
C# vs C++ --- help me understand the differences?
M J
2009-09-21 22:00:04 UTC
I've been focused on learning C# as my first exposure to programming has been working with C# and XNA. Why am I hearing from everyone that C++ is so much more versatile and powerful than C#? Can anyone explain this to me in plain English and cite some examples I will understand? I know nothing about how they are different, except that C# is newer and supposedly takes control away from the programmer(?).

Can anyone fill in a newbie? Also, I understand that C# is monopolized by the .NET framework, and that this is a disadvantage, but I was hoping for all the other differences.. Thanks all..!
Three answers:
?
2009-09-21 22:31:27 UTC
http://www.thinkingparallel.com/2007/03/06/c-vs-c-a-checklist-from-a-c-programmers-point-of-view/
slaten
2016-11-03 06:31:54 UTC
C++ is a plenty older language. that's a superset of the c software language, including merchandise oriented good factors. that's particularly much consistently compiled to device code. C# is a much extra modern language, having extra in basic with Java than C. It runs on a digital device, the language itself is plenty cleanser than C++, and it has extra modern good factors (rubbish sequence, pondered image, and so on) than C++. The call "C#" is a sprint a misnomer, that's going to not be viewed an instantaneous relative of C or C++.
?
2009-09-21 22:30:19 UTC
C# is a proprietary Microsoft-only abomination of a language which is somewhat similar to Java (it was Microsoft's attempt to undermine the popularity of Java).



C++ is a standard cross-platform language,



If you only ever want to work in a Windows environment then stick with C#. If you want to be able to work on Linux, Mac OS X, FreeBSD, Solaris, embedded, etc, then go for C++.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...