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. to C.NET or not to C.NET

to C.NET or not to C.NET

Scheduled Pinned Locked Moved .NET (Core and Framework)
c++csharpdotnethelpquestion
10 Posts 6 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.
  • D Offline
    D Offline
    Donald Blachly
    wrote on last edited by
    #1

    I have a pretty good grasp of C++ but very little success in GUI applications with MFC from MS Visual C++. I am interested in windows based applications (to be used mainly by myself) in engineering problem solving. Where should I begin? Should I concentrate on learning MFC from VC++ 6.0 or switch to .NET framework now? What books or training would you recommend? When you come to a fork in the road, take it! Y. Berra

    D S N 3 Replies Last reply
    0
    • D Donald Blachly

      I have a pretty good grasp of C++ but very little success in GUI applications with MFC from MS Visual C++. I am interested in windows based applications (to be used mainly by myself) in engineering problem solving. Where should I begin? Should I concentrate on learning MFC from VC++ 6.0 or switch to .NET framework now? What books or training would you recommend? When you come to a fork in the road, take it! Y. Berra

      D Offline
      D Offline
      Domenic Denicola
      wrote on last edited by
      #2

      Go to .NET, you won't regret it. It's a great technology. However, you're going to need to get your hands on some version of Visual Studio .NET, which is rather expensive :(( In general I find the Wrox Press Beginning ___ (in this case Beginning C#) very good introductions, but since your a programmer already I've heard good things about Inside C# 2.

      -Domenic Denicola- [CPUA 0x1337] MadHamster Creations "I was born human. But this was an accident of fate - a condition merely of time and place. I believe it's something we have the power to change..."

      D 1 Reply Last reply
      0
      • D Domenic Denicola

        Go to .NET, you won't regret it. It's a great technology. However, you're going to need to get your hands on some version of Visual Studio .NET, which is rather expensive :(( In general I find the Wrox Press Beginning ___ (in this case Beginning C#) very good introductions, but since your a programmer already I've heard good things about Inside C# 2.

        -Domenic Denicola- [CPUA 0x1337] MadHamster Creations "I was born human. But this was an accident of fate - a condition merely of time and place. I believe it's something we have the power to change..."

        D Offline
        D Offline
        Donald Blachly
        wrote on last edited by
        #3

        Actually, Amazon has the Professional UPGRADE for $165 after $300 rebate. So do recommend C#.NET over C++.NET? Why is that? When you come to a fork in the road, take it! Y. Berra

        J J D 3 Replies Last reply
        0
        • D Donald Blachly

          Actually, Amazon has the Professional UPGRADE for $165 after $300 rebate. So do recommend C#.NET over C++.NET? Why is that? When you come to a fork in the road, take it! Y. Berra

          J Offline
          J Offline
          James T Johnson
          wrote on last edited by
          #4

          Donald Blachly wrote: So do recommend C#.NET over C++.NET? Why is that? I do; because I think its much easier to learn how to use the class library without the language syntax getting in the way. To me, the C# syntax is intuitive to the use of the .NET classes. My opinion anyway ;) James "Java is free - and worth every penny." - Christian Graus

          1 Reply Last reply
          0
          • D Donald Blachly

            Actually, Amazon has the Professional UPGRADE for $165 after $300 rebate. So do recommend C#.NET over C++.NET? Why is that? When you come to a fork in the road, take it! Y. Berra

            J Offline
            J Offline
            jparsons
            wrote on last edited by
            #5

            This is purely my opinion but if you're going to use C++.NET then you should either use C# or C++. C++ wasn't designed to be run in .NET and as such there are some places where working with C++.NET is funny to say the least(boxing for instance). C# was designed to run in .NET. Essentially, anything you can do in C++.NET can be done in C#. C# has a much more intuitive syntax and once again IMHO is easier to work with sometimes. However this is purely an opinion thing Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

            1 Reply Last reply
            0
            • D Donald Blachly

              Actually, Amazon has the Professional UPGRADE for $165 after $300 rebate. So do recommend C#.NET over C++.NET? Why is that? When you come to a fork in the road, take it! Y. Berra

              D Offline
              D Offline
              Domenic Denicola
              wrote on last edited by
              #6

              I recommended C# (BTW, they're technically called C# and Managed C++, not C#.NET and C++.NET). Basically C++ is not designed for .NET. The syntax is ugly and evil, and many things are inconvenient. It is good for mixing of unmanaged and managed stuff (read: non-.NET and .NET stuff), because with it you can write both. But otherwise, C# is designed for .NET and is a lot cooler as such.

              -Domenic Denicola- [CPUA 0x1337] MadHamster Creations "I was born human. But this was an accident of fate - a condition merely of time and place. I believe it's something we have the power to change..."

              1 Reply Last reply
              0
              • D Donald Blachly

                I have a pretty good grasp of C++ but very little success in GUI applications with MFC from MS Visual C++. I am interested in windows based applications (to be used mainly by myself) in engineering problem solving. Where should I begin? Should I concentrate on learning MFC from VC++ 6.0 or switch to .NET framework now? What books or training would you recommend? When you come to a fork in the road, take it! Y. Berra

                S Offline
                S Offline
                sultan_of_6string
                wrote on last edited by
                #7

                Quite frankly, it doesn't matter what language you choose (VB.NET C# or MC++) because they all work the same framework and 99% of what they can do is the same. MC++ is the most powerful and most flexible, but can be the biggest pain, as you don't have a GUI interface for designing forms/windows. C# and VB.NET are practically identical, except that C# can work with pointers (which I've never had a use for). If you're really performance oriented, create the front-end in C#/VB.NET and the back-end in MC++, as the C#/VB compilers suck.

                J 1 Reply Last reply
                0
                • S sultan_of_6string

                  Quite frankly, it doesn't matter what language you choose (VB.NET C# or MC++) because they all work the same framework and 99% of what they can do is the same. MC++ is the most powerful and most flexible, but can be the biggest pain, as you don't have a GUI interface for designing forms/windows. C# and VB.NET are practically identical, except that C# can work with pointers (which I've never had a use for). If you're really performance oriented, create the front-end in C#/VB.NET and the back-end in MC++, as the C#/VB compilers suck.

                  J Offline
                  J Offline
                  jparsons
                  wrote on last edited by
                  #8

                  Considering how they both run under the CLR I don't see how MC++ could be significantly faster than C#. Do you have some benchmarks? Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

                  S 1 Reply Last reply
                  0
                  • D Donald Blachly

                    I have a pretty good grasp of C++ but very little success in GUI applications with MFC from MS Visual C++. I am interested in windows based applications (to be used mainly by myself) in engineering problem solving. Where should I begin? Should I concentrate on learning MFC from VC++ 6.0 or switch to .NET framework now? What books or training would you recommend? When you come to a fork in the road, take it! Y. Berra

                    N Offline
                    N Offline
                    Nemanja Trifunovic
                    wrote on last edited by
                    #9

                    Donald Blachly wrote: Should I concentrate on learning MFC from VC++ 6.0 or switch to .NET framework now? My advice would be: VC++ 7.0 and WTL. I vote pro drink :beer:

                    1 Reply Last reply
                    0
                    • J jparsons

                      Considering how they both run under the CLR I don't see how MC++ could be significantly faster than C#. Do you have some benchmarks? Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

                      S Offline
                      S Offline
                      sultan_of_6string
                      wrote on last edited by
                      #10

                      Yeah, the CLR runs the same, but the C# and VB.NET compilers are really bad at optimizing code. I found that out with ildasm, and I think there is an article on MSDN about performance tuning .NET which admits the same thing.

                      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