Results 1 to 11 of 11

Thread: C++ vs. C#

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2002
    Location
    For the moment the U.S., for eternity, Heaven!
    Posts
    5

    C++ vs. C#

    I'm a c++ programmer, not very good at it but trying. I was just wondering what C# is and how much it differs from C++. Is it derived from C++? Also, is it worth learning, or should I ignore it?
    I'm barely starting to get the hang of C++, and hope that C# isn't important.
    Thanks!
    Does anyone know of a witty and entertaining signature I could use? I mean, who thinks these things up?????

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    Star Wars fan arent you?


    C# is a language from MS that works with the .NET framework. It is the same syntax as C++/C/Java with virtually the same power but has the ease of VB. If you are already use to C++, you can use C++ .NET to work with the .NET framework isntead of learning C#. It is just another language choice but is the best choice for .NET because of its ease and maintaining a level of power close to C++.

    But again it is just choice.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2002
    Location
    For the moment the U.S., for eternity, Heaven!
    Posts
    5
    If Attack of the Clones flops I am changing my user name!

    Thanks for the info. I guess I won't worry about C# for now.
    Does anyone know of a witty and entertaining signature I could use? I mean, who thinks these things up?????

  4. #4
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    LOL..from what I have seen...this one is going be GOOD! No fricking gay jar jar...or at least very little of that ***!



    2 more weeks!!!
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  5. #5

    Thread Starter
    New Member
    Join Date
    May 2002
    Location
    For the moment the U.S., for eternity, Heaven!
    Posts
    5
    I will see it up to 5 times - I am not kidding. Finally Lucas got the hint and hired on a writer!
    Does anyone know of a witty and entertaining signature I could use? I mean, who thinks these things up?????

  6. #6
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    as long as it is dark like it should be..not goofy and childish..
    From the spolier stuff I have seen....ooof...its going be an unhappy ending..like Empire Strikes Back

    Lucas said he learned his lesson..
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  7. #7

    Thread Starter
    New Member
    Join Date
    May 2002
    Location
    For the moment the U.S., for eternity, Heaven!
    Posts
    5
    What took him so long? Couldn't have someone on his staff kindly inform him during the Pantom Menace filming that it STUNK!!!!
    Does anyone know of a witty and entertaining signature I could use? I mean, who thinks these things up?????

  8. #8
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    Greed. He saw dollar signs with the huge amount of liscensing for kids products and Jar Jar he could sell. And it back fired. Im totally po'ed with Lucas for dropping the liscense for the Star Wars card game from Decipher and gave it to Wizards of the coast to make a really stupid crap card game..Why? Money!

    This time he kept the liscenses he gave out much lower and is not trying to hit up the kids..
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  9. #9

  10. #10
    Addicted Member
    Join Date
    Apr 2002
    Posts
    235
    C# is a language from MS that works with the .NET framework. It is the same syntax as C++/C/Java with virtually the same power but has the ease of VB. If you are already use to C++, you can use C++ .NET to work with the .NET framework isntead of learning C#. It is just another language choice but is the best choice for .NET because of its ease and maintaining a level of power close to C++.
    Using C++ in .NET is not the way to go. I've never tried using C++ under .NET (they call it Managed C++), but I worked on the .NET documentation team at MS last year, saw much dicussion among developers and KNOW that it's ugly ugly ugly! The general concesus there was avoid it if you can.

    If you want to get into .NET, C# is your best bet, and there's a chance that you'll find it easier than C++ (depending on what you're struggling with). The transition crom C++ to C# is much easier than from C++ to managed C++. Why? Because C#'s syntax is cleaner than C++. Managed C++ is uglier.

  11. #11
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    As a long-time C++ fan, I'm going to agree with the comments about not using C++ in .NET.

    It works, but only if you keep things like __gc and __sealed floating around everywhere Not to mention the fact that C++'s pointer capabilities get severely curtailed by the presence of the garbage collector.

    So basically, you have two options:

    1: .NET and VB, C# (not a bad language, actually)
    2: API and C++ (still my preference, but depends what you need)

    Most of the stuff I do is based on Unix systems so it's a moot point either way
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width