| | C++ or C#... which is newer??? i want to learn one of them |
|
|
|
You should learn C++, because most of the professional works are made using C++, so you will be able to work with today's developpers and modify the programs written by your collegues.
I personnally know C, gcc (which is the free version of C compiler), C++. Unfortunately I don't know what ils "C#". Let's count how many people knowh about it. Regards Yordan
yeap, ive learn c++ in my uni, and i never heard about C# programming. Mayb C# is useful in certain area of programming but C++ has better advantages and widely adopted in programming world
QUOTE(yordan @ Sep 10 2005, 11:57 AM) You should learn C++, because most of the professional works are made using C++, so you will be able to work with today's developpers and modify the programs written by your collegues. I personnally know C, gcc (which is the free version of C compiler), C++. Unfortunately I don't know what ils "C#". Let's count how many people knowh about it. Regards Yordan GCC hasn't been dupped GNU C Compiler in too many years to even count. It's an acronym for GNU Compiler Collection. Just wanted to inform you of such. Regards, Digital Technic. QUOTE(fabeschan @ Sep 10 2005, 06:49 AM) C# is 'newer' being only a few years old now. C++ goes back about 20 years now. That is actually C++'s advantage, it has been around for quite a while and has been steadily improved. There are many good books about C++ development and lots of existing code to look at. C++ is supported on all kinds of systems (Windows, UNIX, Linux, Mac, embedded systems in cars and robotics, etc.). C# is a 'new' language which is sort of based on C++ and looks a lot like Java. It is only supported on MS Windows and only certain versions. It is still rather new, is not necessarily stable and has not been used by as many people. There are fewer books and mostly not as good. There are fewer existing programmers, so it will be harder to get your questions answered as you learn. C++ has proved itself and is not going away anytime soon. C#'s fate is still uncertain. My advice is to learn C++ first. Once you learn the programming basics, you can (and should) start learning a few more languages, especially new ones, but not when you are just starting out.
It seems that the way to go is learning c++ and java. Both are used on a regular basis, and both have proven themselves. I know a little c++ and I have found it to be very useful. Java, as most people say, is very much like c++, but maybe a little easier to learn and use. I say take your choice between these two.
Also, noone has yet to mention portability.
C++ is very portable. C++ can be used to code Windows, Linux, Unix, PlayStation, XBox, Virtually anything with a processor. C# is a microsoft invention, and will only work on MS platforms nativly.
As others said, my answer is just another support for C++. It is the language you need to learn. If you have time, learning C is also very helpful. Basically there are not so many build in packages that you can use for C/C++, so you have to either write it or own or using others' library. It is good, because you will know how stuffs work.
I'm not so familiar with C#, but from what i know, it is the language designed for Microsoft platform only. It is a language that based on C++ and Java to use mainly on .NET application. However, many people expect a premature death of C# because of its limited usage on .NET in Windows system. Not like the languages that it based on, Java and C++ which are compatible to almost any platform. So, the bottom line is avoid C# and learn C++ as much as you can. QUOTE(vdhieu84 @ Nov 18 2005, 12:57 PM) I'm not so familiar with C#, but from what i know, it is the language designed for Microsoft platform only. It is a language that based on C++ and Java to use mainly on .NET application. However, many people expect a premature death of C# because of its limited usage on .NET in Windows system. Not like the languages that it based on, Java and C++ which are compatible to almost any platform. So, the bottom line is avoid C# and learn C++ as much as you can. See first of all, the .NET platform was supposed to be Microsoft's answer to Java. I've been coding in .NET well over 2 years now - and despite being a hardcore MS hater, I'd say, this product isn't one you can discard like cheap trash. For once (despite all the pitfalls) - MS has come out with something well worth mentioning. .NET is basically a OOP Framework - a set of files/libraries that provide you with thousands of pre-designed classes allowing you to rapidly develop and deploy applications on Windows. The underlying principle is almost 99% same as Java - and so is the class/package organization. If you're an experienced Java programmer, switching to .NET is a matter of minutes - as it happened in my case. The way Java produces an intermediate ByteCode - which can be run on any platform that has Java Runtime Environment installed - so it's the case with .NET. The compiled .exe-s are in an intermediary format known as MSIL - MS Intermediate Language. .NET offers a very handy way to write Managed Code where you never have to worry about freeing allocated memory yourself at every step - thus avoiding potential memory leak problems. The unified Garbage Collector (similar to Java) runs from time to time freeing up memory from object references which have gone out of scope. That's ONE LESS headache when it comes to voluminous coding - let me tell you. VB.NET, C# (C-Sharp).NET, C++.NET and J#.NET - all form a part of the .NET framework - the BIGGEST ADVANTAGE in this case is Mixed Coding. Since all these languages use the underlying .NET Framework, a project you design can contain code in any of these languages. They'll all compile and live harmoniously together. So in effect, my main program can be written in C#, one dll in VB.NET, some addon classes to the main in J# and some more WinAPI libraries in C++.. the development environment wouldn't even hiccup at this. It calls the appropriate compiler in each case and combines the code from all these different languages together in a very robust way, I must say. Moreover, .NET surely offers the great flexibility of OOP coding.. Like Java, all your code HAS TO BE in the form of Classes and you're advised to use the OOP features to their fullest extent. As for C# - I would say, it's a rip-off from Java - the structure & style of your code is 100% same as Java - only variation you find is in the syntax, which again, J# makes up for. But it's not something to dump as outright trash. One little known fact - .NET framework isn't going to die out as many might like to think. According to me it's here to stay for good. Because, with .NET, MS has "SOMEWHAT" started to realize their prior mistakes and have even released a .NET framework for FreeBSD. To me, that says a lot coming from a company like MS. This means, any code you write for .NET on Windows, should ideally run without any further modification on FreeBSD too. I'm eagerly waiting up to test this out. QUOTE More than one million lines of source code for .Net will be made available under Microsoft's previously announced "Shared Source" licensing program to academic researchers in university computer-science departments. Shared source is Microsoft's response to the open-source software movement and the growing popularity of the Linux operating system. Open-source software such as Linux typically is developed by programmers collaborating and freely sharing code updates. Source: http://www.infoworld.com/articles/hn/xml/0...327hnshare.html All in all I'd give .NET a rating of 7/10 - and advise all of the serious coders to give it a try. Once again, it's not as trashy as you might like to think of it. All this coming, from someone who goes around proclaiming "Linux: What WINDOWS will never be" - is a big thing, my friend. I'm surprised at it myself at times.. but I surely must have realized the good points/advantages to come out and speak such volumes about it. No matter what, I still believe that the learning curve for coding should start off with C++ (the OOP way), as it provides a very good platform-independent (more or less) foundation for coding. Once you've got a fair command on it, shifting to other languages isn't a problem at all. Suggested Readings & Downloads:
Similar Topics
Keywords : c, c, learn
(4) hi my name is dipesh, i resentally signed up to the site and would like the know the best way to learn more (1) Since we already assumed you have an up and running linux installation, you most likely won't Last article I showed how to create a DLL, now we are going to learn h (0) In this example, we are going to use a Form, 2 text box (which the user should enter the both real Possibly Best place to Learn HTML for free (1) http://www.w3schools.com/html/default.asp I learned HTML There and PHP it has a hands on idea it I'd like to learn how to use it (1) Well, I was told on another forum that I could host my own ShoutCast server on a host if I have (1) i would like to learn animation i think it would be kool to make them if any one can point me in the I've always wanted to learn new words... I wonder if anyone else d (23) Hey people... does anyone else speak Italian? I am Italian but I need some help brushing up on my Want to learn CSS, PHP and create a website (17) Hello, I've been wanting to learn to create websites for a long time. I'm not sure how hard (0) SuTree is a social bookmarking and index of free video lessons, tutorials, DIY, how to videos ... in (8) Okay, because this is a forum, I'll tell you a little bit of HTML briefly. The rest you can go overview of the best way to go about learning a programming language. (0) How to Learn a Programming Language 1. Choose a programming language. Pythonand Turtle (4) I'm pretty new to html and stuf cuz i dont know it ut i want to make a game like Combatgrounds There are a lot of basics that i need to learn (3) For weeks now i've been searching the net looking for help on rpg maker 2k3 and wherever i go (11) I want to learn MYSQL but I don't know where to start. Any suggestions of where to start in (5) how i learn the system of database oracle in arabic ??.... Learn how to draw 2D polygons in this tutorial (8) This is the second lesson in my series of tutorials on how to use GLUT to create graphics. In this The two methods discussed (11) Hunting for a good book The more daunting task - hunting down a good book. The way is not easier How to begin programming ? (11) Hey guys i'm posting here because i've a doubt, about 1 year ago i started to develop a I would very much like to know. (9) Well, I know HTML, I know CSS, so the next step is learning Javascript. I have heard that it is sort Learn basic Object-Oriented Programming (1) Okay, so you're like me - you've heard about OOP or Object Oriented Programming and wonder i want to learn more... (11) hello, i am a student of informatics and i would like to learn more about programming artificial Should ruby be a first language to learn (14) Ok I've had a small introduction to programming while in college, and have been thinking about What language to learn in order make it? (16) If you look at e.g. THIS LINK What language would you use to make something like that? I would like to learn Pearl! (8) Hello, I would like to learn Pearl so that I can start working with CGI scripts so that I can in Learn how to make cool graphic effects (31) 1) Open a new document (any size) and reset your colors by pressing D then X 2) Go to (29) Well the title is the questions really. I want to redo my site more pro, and would like to do it So you wanna learn Cron jobs huh ? (3) How to setup Basic Cron Jobs. Ok. Many people are yelling that they cannot configure the Learn to Make Your Own Enhanced Audio CD (2) Some may be familiar with the concept of Enhanced Audio CD's. For those that aren't, an Anonymous surfing on the net.-[Part - 1] (34) Hi guys! This is my first topic here, anyway. So much people are using Microsoft Internet Explorer Looking for c, c, learn
|
![]() C++ Or C#: Which Is New? Which One Should I Learn? - Which? |
| ADD REPLY / Got an Opinion! | a humble request :-) | RAPID SEARCH! | Free Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute your information that might help someone here. Ask your Doubts & Queries to get answers.. "Together, We enlight each other!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|