Tuesday, July 14, 2009

C#, C or C++?

I have some expirience in VB6 (ok, lots of it) and now I'd like to move on. But I cant decide between C++,C and C#. Probably because I don't know the difference :D


Please, recommand me what to do, and tell e why you think so...

C#, C or C++?
The easiest transition will be to C#. There is no memory management required in C#... C and C++ require you to be much more cautious with memory use.





VB6, though not quite a fully object oriented language, for all intents and purposes can be consider such. C++ is also, though a fully object oriented language (including polymorphism, overloading, etc. etc.).





With C, you lose the convenience of object oriented-ness (is that even a word). If you're looking for a seemless and quick transition, jump to C#. If you're look for a steeper learning curve go to C++. As for C... well... I say if you know C++, you can pretty much say you know C - just scrap all the object oriented-ness and learn structures a little more deeply.





Note: C# takes care of the memory management piece for you with something called a garbage collector, C and C++ you'll have to be your own garbage collector.





The Data Analyst - http://www.squidoo.com/thedataanalyst
Reply:depends on what you career goals are, it you are looking into game programming, embedded system etc go with C++





application programming, business objects, web development, go with C#
Reply:C#





c is the oldest one, then c++ makes it object oriented. virtually all programs for the last 10-15 years were written in c++. then the new one is c#. it is a lot easier than c++. if you are just starting choose c#!
Reply:I'd reccomend C++ and Objective C. These programming languages are very widely used, but I don't know about C#. As a Mac user, I've (unsuccessfully) tinkered around with Xcode, and once I get the Objective C down I could make a good app.
Reply:start with C then move to c++





good luck





cheerz,


Steven
Reply:I would recommend you look into Java instead. Most apps web/desktop are moving towards been created in Java. C++ is a bit dated.
Reply:I would say go with C#. I have been messing with it for about a year. Most of the books i have give examples in VB6 and C#. Looking at the examples...the only thing really different with them is wording for certain things. So you should be able to pick it up really quick. Plus C# is the newest of the others listed. It is out in a 3.0 release that is actually pretty sweet. Lets you do all kinds of really neat things. C# 2.0 runs off of the .NET framework 2.0 and C# 3.0 is built around the .Net framework 3.5 which is what Vista was built on.
Reply:See c or c++ are different from c# .I suggest you to first put your hands on c if you know basics of c then you can switch over to c# .You should not have to do c++.


There is no comparison in c,c++ or c# but a little knowledge of c is must.After c you can do c#. there is nothing common in between c and c#.


No comments:

Post a Comment