Thursday, July 9, 2009

Difference b/w c,c++ and c#?

1....what is the difference b/w c,c++ and c#





2....in my university i m learning c as the basic beginning language can i later learn the c++ and c# as well .


3...how long does it take to switch from C to c++ and from c to c#





4...is it good to start from c as beginner rather than c++ or c#?





thank u for ur answer

Difference b/w c,c++ and c#?
1- C is not an object oriented programming language. Both C++ %26amp; C# are object oriented programming languages.


You can think of C++ is an extension of C. C# was built from scratch by Microsoft as the .NET programming language of choice.


For a comparison between C %26amp; C++ plz check:


http://unthought.net/c++/c_vs_c++.html





To compare C# with C++ %26amp; Java, plz refer to:


http://genamics.com/developer/csharp_com...





2- Yes you can





3- When learning programming its all about the concepts. The syntax is the last of your problems. The answer to this question depends on what you want to do with your C#.





4- I advise you to start with C# immediately if your goal is to develop with C#.





Hope that helps
Reply:Firstly there seems to be a misconception that C++ is an Object Oriented Language, it is NOT. It is a language which provides constructs to aid programmers write their code according to OO principles.


Object Oriented Thinking(OOT) is much more important that OO Programming. If you design your programs keeping OO in mind you can write code in either of these languages.


C provides added advantage of being quite fast and is portable across many platforms.


But beware you can write horrendous code in C, C does not provide a safety net for bad programmers. So if you are a beginner it is best to start with something like C++ or java.
Reply:1. Huge :-)


C is rather low-level programming language; C++ is object-oriented programming language extending plain C. C# is for people who want to create applications without almost any programming knowledge.


2. Surely, yes.


3. Near a month from C to C++ and near a half an hour from C++ to C#.


4. It is the best (if not the only one) way.
Reply:c is a procedural programming language. c++ is an objected oriented progaming language. c# is also a oop language but it has many features that are available in java but it emphasises on simplicity.





once you know any one of these languages you can always learn the other in a matter of weeks. (or days depending on you ability to learn)





its ok to start from c, but the only advantage of being able to start with c++ is that you will initially start off with a mindset for an oop language style.
Reply:actually they are all the same (programming language), the difference is that they all started in c language, and then further developed to c++ / c#...





actually if u are familiar to c language, you will be able to learn c++ and c# easier and fast...

pokemon cards

No comments:

Post a Comment