C++ Or C#: Which Is New? Which One Should I Learn? - Which?

Pages: 1, 2
free web hosting
Free Web Hosting > Computers & Tech > Programming > Programming General > C, C++ & Visual C++

C++ Or C#: Which Is New? Which One Should I Learn? - Which?

fabeschan
C++ or C#...

which is newer???


i want to learn one of them

Reply

yordan
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

Reply

irwan6179
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

Reply

Digital Technic
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.

Reply

evought
QUOTE(fabeschan @ Sep 10 2005, 06:49 AM)
C++ or C#...

which is newer???
i want to learn one of them
*



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.

 

 

 


Reply

minnieadkins
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.

Reply

qwijibow
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.

Reply

vdhieu84
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.

Reply

miCRoSCoPiC^eaRthLinG
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. wink.gif

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:

Reply

nekkab
c# is newer
but should use c++

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Pages: 1, 2
Similar Topics

Keywords : c, c, learn

  1. Choosing Your Computer Before Bying
    Learn how to choose the best computer (4)
  2. I Need Help Finding The Best Way To Learn Php
    (4)
    hi my name is dipesh, i resentally signed up to the site and would like the know the best way to
    learn php programming, my end goal is to create an mmorpg which is turn based like astroempires and
    ogame....
  3. Do I Need To Do Any Extra Setup For Audio / Video Output?
    learn more (1)
    Since we already assumed you have an up and running linux installation, you most likely won't
    have to do any work in this area. Most modern distributions automatically configure X and audio for
    you, and there is a host of information on the web for configuring X. As far as audio goes, there
    are many different audio architectures available. We recommend choosing a distribution that uses
    ALSA (the advanced linux sound architecture) by default since it is the most powerful sound system
    and supports the most hardware. If your distribution doesn't include it, check o....
  4. How To Call A Dll From Delphi
    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
    numbers) and a button. See the Source example: unit usadll; interface uses Windows, Messages,
    SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm)
    Label1: TLabel; Label2: TLabel; Button1: TButton; Edit1: TEdit; Edit2: TEdit; procedure
    Button1Click(Sender: TObject); private { Private declarations } public { Public declarations } end;
    function Max(a, b : double):double;stdcall; var Form1: TForm1; implementation {$R *.DFM} ....
  5. W3 Schools
    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
    even has quizes adn u can open up ther notepad like thingy and try the html your self so its really
    cool and free....
  6. Tell Me About Ssh
    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
    Shell Access. I know that I can just host it on my computer but I don't want it on all day.
    I've been looking into buying hosting somewhere (which has SSH) and I also need to have a radio
    on my site. Then this person conveniently mentions that you can have it on a host with SSH. So
    basically, how do I go about it, I don't know anything about SSH and I can't do anything yet
    because Astahost doesn't have SSH. Is there anything I need and how do I put ShoutC....
  7. Can Some One Help Me Learn To Make Animation.
    (1)
    i would like to learn animation i think it would be kool to make them if any one can point me in the
    right direction to start it would be great help. Thanks. -Joshua....
  8. What Language Do You Speak?
    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
    linguistics.....
  9. Learning Php/sql Basics
    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
    it will be and how long it will take to learn enough to make my own database-driven website. I
    studied SQL, basic programming, worked with databases and am familiar with HTML tags, but this all
    was for work, university and I never paid a lot of attention to details. In the past few days I read
    beginner's tutorials on PHP/SQL, CSS and even HTML. Now I want to create a simple database with
    some tables to practice with PHP scripts for a website, write and read database i....
  10. Sutree - How-to Videos - Watch And Learn
    (0)
    SuTree is a social bookmarking and index of free video lessons, tutorials, DIY, how to videos ... in
    any subject and from all over the web. Their computer section is at:
    http://www.sutree.com/index.asp?c=146 ....
  11. Learn Html
    (8)
    Okay, because this is a forum, I'll tell you a little bit of HTML briefly. The rest you can go
    to www.w3schools.com/html to learn yourself. Look at this little example below.
    ----------------------------------------- Hello World Hello world
    ----------------------------------------- Where it says it is telling the browser to start
    viewing that part of the page. Where it says it tells the browser that it is the end of the
    document. The / html> indicates the break. It is the same with the title. Where it says and the
    / title>. It tells the web ti....
  12. How To Learn A Programming Language
    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
    Graphics are good starter languages. they are very straightforward and easy to learn. Also, there is
    a module called Pygame available that makes handling windows a breeze. Another programming language
    for a beginner to try is Kids Programming Language, or KPL's new version, called Phrogram.
    Don't be put off by KPL's name! Once you learn the basic concepts of programming, you can
    then take those ideas into any programming language you choose. Be aware however, th....
  13. A Beginner Wanting To Learn How To Make A Web Game
    (4)
    I'm pretty new to html and stuf cuz i dont know it ut i want to make a game like Combatgrounds
    which is located at http://www.combatgrounds.com . But i don't know where 2 start so can any1
    give me any pointer. Your help will be appreacitaed Spelling and grammar are important, as stated
    in our forum rules, but also part of your membership with AstaHost. Refrain from using slangs. "U"
    "R" smarter than "2" does not mean TO... Topic title must be specific. Modified. Last verbal
    warning. ....
  14. Does Anyone Know Rpg Maker 2003
    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
    I'm treated with hostility for being a newb. So now I'm looking for some genuine help. As a
    newb I've been reading and reading trying to find out how to use the functions, below I'll
    leave a list of things i can't figure out. 1. Switches *Probably the most important thing
    in the game but I can't figure out how to turn them on and off. 2.a password thing 3. More
    sprites if available Now I would prefer if the answers they could be short and sweet.....
  15. How To Learn Mysql?
    (11)
    I want to learn MYSQL but I don't know where to start. Any suggestions of where to start in
    learning MYSQL?....
  16. How Do I Learn Oracle In Arabic?
    (5)
    how i learn the system of database oracle in arabic ??....
  17. Programming In Glut (lesson 2)
    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
    tutorial I am going to be teaching you how to create different types of polygons. I am going to be
    adding on to last tutorial's code and will leave the notes in to help you remember what all the
    function are. I will also be noting the new functions that we will be using and how to use them.
    CODE #include //Include the GLUT functions This time we are going to not only set the
    background color, but set the area that we are viewing as well. gluOrtho2D(); sets....
  18. How To Learn A Programming Language
    The two methods discussed (11)
    Hunting for a good book The more daunting task - hunting down a good book. The way is not easier
    one though. The search would require to shuffle through a big heap of books lying on a bookstore and
    ofcourse, its time consuming and generally, not to the dot. Once the book selected, only 20 percent
    is going to be the useful material all else (biggie 80%) is going to be waste for the reader though
    it will help to wash up the brain and clear some fundamentals. Reading books is quite convenient-
    after all, books are easy-on-eyes with well-organized and cross referenced m....
  19. What Shall I Learn First In Programming ?
    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
    certain taste for programming, at first i tryed code Websites using Html ,then with php, then Mysql,
    and at last all together. Now i alreday finished my hardware Reparation course, but that old taste
    for programming is calling me to do other thing else besides repair hardware. Meanwhile i've
    develop taste for other several kinds of languages and i'm a bit confused because i dont know
    whitch programming language bring me future. So i wonder what programming language sha....
  20. Best Way To Learn Javascript
    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
    of an easier way to do things than PHP, though I would very much like to learn PHP as well. So, I
    thought that if I learnt Javascript, I might find it easier to learn PHP when I get to that point.
    The problem though is actually finding out the best way to learn Javascript. I have been to
    websites and things, but every time I read through the tutorials and articles and things, I
    didn't learn anything. It when in one ear and out the other, you could say. So, that is wh....
  21. Garmon's Javascript #1 - Simple Object Database
    Learn basic Object-Oriented Programming (1)
    Okay, so you're like me - you've heard about OOP or Object Oriented Programming and wonder
    what all the hOOPlah is about! So here's the straight pOOP. Okay, sorry for the stOOPid puns.
    I'll stop now. Honestly, I will. OOPs I did it again. Right. Here's the scenario: we have
    an online store, we want to maintain a database of our products, and we want to be able to access
    them. This tutorial shows how this can be done, with very simple, commented code. Please note, that
    I'm not recommending that you use JavaScript to store your actual product dat....
  22. Need Help - Artificial Inteligence
    i want to learn more... (11)
    hello, i am a student of informatics and i would like to learn more about programming artificial
    inteligence. The truth is I am new to this and know only very little about it. But I want to learn
    something new and this seems to be very interesting. I am mostly interested on the creation of
    genetic algorithms. I would be very thankfull if someone more experienced would give me some advice
    on where to start, for example links to pages with some tutorials or online books on that subject.
    thanks ....
  23. Ruby, A Good Language To Learn First?
    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
    getting back into it. After looking around I've noticed that ruby seems to be a good programing
    language and easy to use, though not to popular outside of Japan. My question is this, what do
    people think of Ruby as a first language for a someone just getting into the programming world?....
  24. Online Multiplayer Game
    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?
    /wink.gif' border='0' style='vertical-align:middle' alt='wink.gif' /> ....
  25. Best Place For Information On Perl
    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
    order to build a more inventive/interactive and dynamic website. I would like if someone could
    point me to a site were I can not only learn Pearl, but also download software to help devlop code.
    (An IDE of some type.) Thanks, Tim....
  26. Photoshop Graphics Effects
    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
    FILTER>RENDER>DIFFERENCE CLOUDS 3) Go to FILTER>BLUR>RADIAL BLUR with these settings Amount:100
    Blur Mehod: Zoom Quality: Best 4) Go to FILTER>ARTISTIC>PLASTIC WRAP with these settings Highlight
    Strength: 15 Detail: 9 Smoothness: 7 5) Do another FILTER>BLUR>RADIAL BLUR with the same settings
    as before 6) Go to FILTER>STYLIZE>GLOWING EDGES with these settings Edge Width: 2 Edge Brightness:
    20 Smoothness: 1 7) Press Ctrl+U to change the color (note: colorize box must be checked) ....
  27. How Long To Learn Dreamweaver?
    (29)
    Well the title is the questions really. I want to redo my site more pro, and would like to do it
    myself. What would a typical building timescale be from start to completion using this? And does
    anyone know any useful sites that may help? Has anyone used dreamweaver and not like it / had any
    problems? thanks chris ....
  28. Cron Jobs Tutorial
    So you wanna learn Cron jobs huh ? (3)
    How to setup Basic Cron Jobs. Ok. Many people are yelling that they cannot configure the
    crons properly. Here is a short tutorial which will help you set them. I have tried my best to
    explain the concept but there can be more advanced configurations. Basically you will want to run a
    PHP script file in specific intervals. Suppose you want to execute a php file called maintanence.php
    every one hour. This is what you do :- The CRON Command is in the Following Format CODE -
    Command The COMMAND, can be broken down in CODE So the COMPLETE ....
  29. Enhanced Audio Cd's
    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
    Enhanced CD is much like a traditional Red-Book audio CD (the normal format for audio cd's -
    what you would purchase in a store). The only difference is that, in addition to being able to put
    your CD into a CD player and listen to music, you can also put the disc in a computer and access
    more features such as graphics files, more songs, or even create custom navigatable menu's and
    programs. All this enhances a consumers experience of your media. There is much to be....
  30. Learn how to surf anonymous on the net! [Part - 1]
    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
    to surf on the web. If you are using on the net with Microsoft Internet Explorer you can hide
    yourself. Anonymous surfing helps you to hide your active-x and java options so protects you from
    some problems on the net like hacker attacks. If you want to be anonymous you should do this.
    FOR DIAL-UP USERS (IE 6 AND UP)... 1-) Go to TOOLS=>INTERNET PREFERENCES=>CONNECTIONS 2-)
    Sellect your connection at the panel you are wieing 3-) Click "Propeties" like you s....

    1. Looking for c, c, learn






*SIMILAR VIDEOS*
Searching Video's for c, c, learn
Similar
Choosing Your Computer Before Bying - Learn how to choose the best computer
I Need Help Finding The Best Way To Learn Php
Do I Need To Do Any Extra Setup For Audio / Video Output? - learn more
How To Call A Dll From Delphi - Last article I showed how to create a DLL, now we are going to learn h
W3 Schools - Possibly Best place to Learn HTML for free
Tell Me About Ssh - I'd like to learn how to use it
Can Some One Help Me Learn To Make Animation.
What Language Do You Speak? - I've always wanted to learn new words... I wonder if anyone else d
Learning Php/sql Basics - Want to learn CSS, PHP and create a website
Sutree - How-to Videos - Watch And Learn
Learn Html
How To Learn A Programming Language - overview of the best way to go about learning a programming language.
A Beginner Wanting To Learn How To Make A Web Game
Does Anyone Know Rpg Maker 2003 - There are a lot of basics that i need to learn
How To Learn Mysql?
How Do I Learn Oracle In Arabic?
Programming In Glut (lesson 2) - Learn how to draw 2D polygons in this tutorial
How To Learn A Programming Language - The two methods discussed
What Shall I Learn First In Programming ? - How to begin programming ?
Best Way To Learn Javascript - I would very much like to know.
Garmon's Javascript #1 - Simple Object Database - Learn basic Object-Oriented Programming
Need Help - Artificial Inteligence - i want to learn more...
Ruby, A Good Language To Learn First? - Should ruby be a first language to learn
Online Multiplayer Game - What language to learn in order make it?
Best Place For Information On Perl - I would like to learn Pearl!
Photoshop Graphics Effects - Learn how to make cool graphic effects
How Long To Learn Dreamweaver?
Cron Jobs Tutorial - So you wanna learn Cron jobs huh ?
Enhanced Audio Cd's - Learn to Make Your Own Enhanced Audio CD
Learn how to surf anonymous on the net! [Part - 1] - Anonymous surfing on the net.-[Part - 1]
advertisement




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