Benan
November 23rd, 2006, 01:32 AM
Hey,
is C# better than C++? why/whynot?
is C# better than C++? why/whynot?
|
Click to See Complete Forum and Search --> : Whats better Benan November 23rd, 2006, 01:32 AM Hey, is C# better than C++? why/whynot? klintan November 23rd, 2006, 03:12 AM Better in what aspect? They are different, each language has its uses and strengths and weaknesses. boudino November 23rd, 2006, 03:52 AM Definitely. What's better? Bananas or potatoes? It depends on for what do you need it. With programming languages, it is the same. Because C++ is closer to HW, everything what you can write in C#, you can write in C++. And something more - for example device drivers. But C# has some great features too. For example GC - you don't need worry about pointers and memory allocation. Majority of taks can be solved in C# faster, easier and more safetly than in C++. For the price that you have no such control over HW than in C++. In conclusion: C# is better for application programming, C++ for system programming. That's my opinion. Benan November 23rd, 2006, 10:50 PM is C# good for game programming? riscutiavlad November 24th, 2006, 01:11 AM C# is generally not as fast as unmanaged C++ but it can be used for game programming. Take a look at http://www.exocortex.org/3dengine/ . It is an Open Source 3D Game Engine written in C#. Benan November 24th, 2006, 02:09 AM C# requires the .net framework though? riscutiavlad November 24th, 2006, 02:18 AM Yes. C# was developed together with the framework as opposed to C++ and VB which were adapted to use it. C# takes full advantage of the features provided by the .NET Framework but can't be used without it. Benan November 24th, 2006, 03:40 AM Ahh gay :( boudino November 24th, 2006, 04:18 AM Yes, C# is one of many other .NET (compiled to IL) languages, like J#, S#, F#, VB.NET, C++/CLI. C# is the one most spread of them. If you are familiar with C++, I would recommend you to look at C++/CLI. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |