-

2011年8月3日星期三

C# or C++ as my next language?

-I've got to a decent level in vb.net and now I want to try either C# or C++, what are the pros and cons of each of them?I think C# is a better choice for developing windows application or simple games.

You'll pick it up quickly because of your experience with .NET.

If you learn C++, it may be a bit difficult, every time you'll look at C++ code you'll feel lost, C++ is very different from VB.



C++ code runs faster than C# code which faster than VB code, C++ code also runs hundreds of times faster than some languages such as Python and PHP.

So I would suggest you learn C#, which is similar in syntax to C++, and once you think you can move on to the next level, try C++.
C# is a programming language introduced with the introduction of the Dot Net Platform by Microsoft. It is used to create both Web-Based and GUI-Based applications on Windows (and now to some degree on Linux).



C++ is mostly used in:

Numerical computations: physics, graphical games, finance, statistics;



Bit fiddling: drivers, operating systems, networking, embedded devices;



Anywhere you need exact control of allocation of memory.
you should learn C# first because C++ is much harder to learn and so knowing C# would give you a better understanding so C++ wont be so hard to learn

没有评论:

发表评论