Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. C# vs VC++

C# vs VC++

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpc++visual-studioquestion
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    I'm seeing a lot of tutorials etc for .NET only in C#.. Would it be wise to switch to C# from VC++? In theory anything in C# can be made in VC++ right?

    I K 2 Replies Last reply
    0
    • L Lost User

      I'm seeing a lot of tutorials etc for .NET only in C#.. Would it be wise to switch to C# from VC++? In theory anything in C# can be made in VC++ right?

      I Offline
      I Offline
      ian mariano
      wrote on last edited by
      #2

      In theory ;) Still, you have to know what you're trying to accomplish. For most purposes, C# is the language of choice for .NET. It should be fairly easy to learn the syntactic and language idioms of C# if you come from the C++ world (as I have.) The question is what usefulness/features do you get if you choose a particular language? C#, IMHO, is a clean language. C++-esque syntax, with lessons learnt from Java and others, rolled into a beautiful construct. C#, obviously doesn't give you as fine-grained control as C++ using the Platform SDK, but there are plenty of Managed Classes that get you there without having to do a lot of the SDK work (for example, performance counters, network, or crypto.) C++ is still in the hearts of many a code guru. Sometimes you don't need to use managed code, but there are things that are more difficult in C++ than in C#. So is it wise? Learning is always wise. "Good programming is language neutral, and is often more difficult to learn than a new language - after all, it's just syntax."

      "The greatest danger to humanity is humanity without an open mind."
        - Ian Mariano - http://www.ian-space.com/

      K 1 Reply Last reply
      0
      • L Lost User

        I'm seeing a lot of tutorials etc for .NET only in C#.. Would it be wise to switch to C# from VC++? In theory anything in C# can be made in VC++ right?

        K Offline
        K Offline
        Kevin McFarlane
        wrote on last edited by
        #3

        Managed C++ is really a tool for integrating existing unmanaged C++ code and COM components into .NET. Although you can also use it to do new .NET development it's not particularly elegant and you also lack designer support for it, i.e., no drag and drop from the toolbox. (I gather this will be addressed in future versions - not sure if that means v1.1.) It's far easier just to learn C# and use that for new development. You pretty much need to learn C# anyway, to get the most out of .NET (as you've noticed, lots of examples are only in C#), so you may as well use it for primary development, especially if you already come from a C++ background. Learning C# syntax is trivial. It's the .NET libraries and best practices, etc., that constitute the major learning paradigm. Kevin

        B 1 Reply Last reply
        0
        • I ian mariano

          In theory ;) Still, you have to know what you're trying to accomplish. For most purposes, C# is the language of choice for .NET. It should be fairly easy to learn the syntactic and language idioms of C# if you come from the C++ world (as I have.) The question is what usefulness/features do you get if you choose a particular language? C#, IMHO, is a clean language. C++-esque syntax, with lessons learnt from Java and others, rolled into a beautiful construct. C#, obviously doesn't give you as fine-grained control as C++ using the Platform SDK, but there are plenty of Managed Classes that get you there without having to do a lot of the SDK work (for example, performance counters, network, or crypto.) C++ is still in the hearts of many a code guru. Sometimes you don't need to use managed code, but there are things that are more difficult in C++ than in C#. So is it wise? Learning is always wise. "Good programming is language neutral, and is often more difficult to learn than a new language - after all, it's just syntax."

          "The greatest danger to humanity is humanity without an open mind."
            - Ian Mariano - http://www.ian-space.com/

          K Offline
          K Offline
          Kevin McFarlane
          wrote on last edited by
          #4

          imariano wrote: "Good programming is language neutral, and is often more difficult to learn than a new language - after all, it's just syntax." I agree. It's a pity that most recruiters don't recognise this fact! Kevin

          1 Reply Last reply
          0
          • K Kevin McFarlane

            Managed C++ is really a tool for integrating existing unmanaged C++ code and COM components into .NET. Although you can also use it to do new .NET development it's not particularly elegant and you also lack designer support for it, i.e., no drag and drop from the toolbox. (I gather this will be addressed in future versions - not sure if that means v1.1.) It's far easier just to learn C# and use that for new development. You pretty much need to learn C# anyway, to get the most out of .NET (as you've noticed, lots of examples are only in C#), so you may as well use it for primary development, especially if you already come from a C++ background. Learning C# syntax is trivial. It's the .NET libraries and best practices, etc., that constitute the major learning paradigm. Kevin

            B Offline
            B Offline
            Boogie
            wrote on last edited by
            #5

            something to read about... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/drgui02132002.asp I did hear that the new version of C++.Net will come with a design tool and a lot of syntax clean up. The release date is around Februry 2003.

            K 1 Reply Last reply
            0
            • B Boogie

              something to read about... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/drgui02132002.asp I did hear that the new version of C++.Net will come with a design tool and a lot of syntax clean up. The release date is around Februry 2003.

              K Offline
              K Offline
              Kevin McFarlane
              wrote on last edited by
              #6

              That's good. I've not used MC++ yet but my initial forays into the documentation weren't pleasant! The syntax certainly could do with cleaning up! Kevin

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups