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. The Lounge
  3. What programming language?

What programming language?

Scheduled Pinned Locked Moved The Lounge
questioncsharpc++tutorial
63 Posts 39 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 Daniel Grunwald

    OK, you don't need to know C#, but if you don't know the .NET Framework, you'll get lost between the managed and unmanaged world.

    N Offline
    N Offline
    Nish Nishant
    wrote on last edited by
    #20

    Daniel Grunwald wrote:

    OK, you don't need to know C#, but if you don't know the .NET Framework, you'll get lost between the managed and unmanaged world.

    Well, when you start learning C#, you also learn how to use the .NET f/w. Similarly, if you are learning C++/CLI, you'd also have to learn about the CLR and the .NET classes in parallel. You have to do that for your first CLI language anyway.

    Regards, Nish


    Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
    Currently working on C++/CLI in Action for Manning Publications. Also visit the Ultimate Toolbox blog

    1 Reply Last reply
    0
    • N Nish Nishant

      JasonTheNewb wrote:

      J# and C++ CLI are out of the question because they are worthless from what i have read.

      C++/CLI is not really worthless - but as a newbie, you won't have much use with it. If you already know Java, then J# is a good option.

      Regards, Nish


      Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
      Currently working on C++/CLI in Action for Manning Publications. Also visit the Ultimate Toolbox blog

      E Offline
      E Offline
      Eytukan
      wrote on last edited by
      #21

      He he I knew you'd have already landed with a shield to protect CLI. :-D


      Marquee is no more :( [My Current Status] Link2006 wrote:Let's take it outside of CP Jeremy : Please don't.I would love to see this.I'm making the popcorn already.

      N 1 Reply Last reply
      0
      • E Eytukan

        He he I knew you'd have already landed with a shield to protect CLI. :-D


        Marquee is no more :( [My Current Status] Link2006 wrote:Let's take it outside of CP Jeremy : Please don't.I would love to see this.I'm making the popcorn already.

        N Offline
        N Offline
        Nish Nishant
        wrote on last edited by
        #22

        VuNic wrote:

        He he I knew you'd have already landed with a shield to protect CLI.

        Yeah. I strongly suspect that the OP was merely trolling, but I replied anyway for the sake of other people who may read the thread :-)

        Regards, Nish


        Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
        Currently working on C++/CLI in Action for Manning Publications. Also visit the Ultimate Toolbox blog

        E 1 Reply Last reply
        0
        • N Nish Nishant

          Yeah, the way people approach programming is changing. These days, it's not necessary to know how to use pointers to write a good application. Lots of people start off with languages like Java, C#, or VB and end up being decent programmers (and also make a pretty good living out of it).

          Regards, Nish


          Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
          Currently working on C++/CLI in Action for Manning Publications. Also visit the Ultimate Toolbox blog

          A Offline
          A Offline
          Anand Vivek Srivastava
          wrote on last edited by
          #23

          Well to understand why I can not write a functions that swaps the value of its arguments in Java, I have to understand C pointers first. Try explaining that to someone who has no idea of pointers and you will see. I am not saying Java or C# are any worse than C/C++ as first languages, just that the C pointers should be understood sooner than later. It gives certain clarity to everything. C helped me understand OO (or its need) more than Java or C++.

          N 1 Reply Last reply
          0
          • N Nish Nishant

            VuNic wrote:

            He he I knew you'd have already landed with a shield to protect CLI.

            Yeah. I strongly suspect that the OP was merely trolling, but I replied anyway for the sake of other people who may read the thread :-)

            Regards, Nish


            Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
            Currently working on C++/CLI in Action for Manning Publications. Also visit the Ultimate Toolbox blog

            E Offline
            E Offline
            Eytukan
            wrote on last edited by
            #24

            Nishant Sivakumar wrote:

            I replied anyway for the sake of other people who may read the thread

            And if someone addresses C++/CLI it implicitly means a "CC" to Nish. and you have to defend it :) otherwise it'll be helpless :sigh:


            Marquee is no more :( [My Current Status] Link2006 wrote:Let's take it outside of CP Jeremy : Please don't.I would love to see this.I'm making the popcorn already.

            N 1 Reply Last reply
            0
            • L Lost User

              I am wanting to learn how to program computers, and would like to know which language is best? I was thinking of Visual Basic because the simple code would be easier to write well and understand, but i understand it is not as fast as C++. J# and C++ CLI are out of the question because they are worthless from what i have read. Do you think i should get c# or VB?

              L Offline
              L Offline
              leckey 0
              wrote on last edited by
              #25

              I have to agree with those who discuss algorithms and such. In college I took a programming languages class to learn the concepts. Then we would write the same program in four different languages. Once you get the logic and concepts, each language just has it's own syntax.

              1 Reply Last reply
              0
              • N Nish Nishant

                Yeah, the way people approach programming is changing. These days, it's not necessary to know how to use pointers to write a good application. Lots of people start off with languages like Java, C#, or VB and end up being decent programmers (and also make a pretty good living out of it).

                Regards, Nish


                Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                Currently working on C++/CLI in Action for Manning Publications. Also visit the Ultimate Toolbox blog

                V Offline
                V Offline
                Vivek Rajan
                wrote on last edited by
                #26

                Very true Nish. This has always been the case. I remember in the early-mid-90s it was Powerbuilder + Oracle that was the road to success. VB has always been a key language in many businesses. Today it may be C# or even SAP/Peoplesoft/Siebel. The real issue is what does he want to do. Does he want a career or does he want to code hardcore stuff like database systems, web servers, OS, drivers.

                1 Reply Last reply
                0
                • A Anand Vivek Srivastava

                  Well to understand why I can not write a functions that swaps the value of its arguments in Java, I have to understand C pointers first. Try explaining that to someone who has no idea of pointers and you will see. I am not saying Java or C# are any worse than C/C++ as first languages, just that the C pointers should be understood sooner than later. It gives certain clarity to everything. C helped me understand OO (or its need) more than Java or C++.

                  N Offline
                  N Offline
                  Nish Nishant
                  wrote on last edited by
                  #27

                  Anand Vivek Srivastava wrote:

                  Well to understand why I can not write a functions that swaps the value of its arguments in Java, I have to understand C pointers first. Try explaining that to someone who has no idea of pointers and you will see.

                  I don't know about Java - but C# (ignoring unsafe compilation for the moment) developers understand value and reference semantics without necessarily having to understand how pointers work.

                  Regards, Nish


                  Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                  Currently working on C++/CLI in Action for Manning Publications. Also visit the Ultimate Toolbox blog

                  1 Reply Last reply
                  0
                  • E Eytukan

                    Nishant Sivakumar wrote:

                    I replied anyway for the sake of other people who may read the thread

                    And if someone addresses C++/CLI it implicitly means a "CC" to Nish. and you have to defend it :) otherwise it'll be helpless :sigh:


                    Marquee is no more :( [My Current Status] Link2006 wrote:Let's take it outside of CP Jeremy : Please don't.I would love to see this.I'm making the popcorn already.

                    N Offline
                    N Offline
                    Nish Nishant
                    wrote on last edited by
                    #28

                    VuNic wrote:

                    And if someone addresses C++/CLI it implicitly means a "CC" to Nish. and you have to defend it otherwise it'll be helpless

                    :)

                    Regards, Nish


                    Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                    Currently working on C++/CLI in Action for Manning Publications. Also visit the Ultimate Toolbox blog

                    1 Reply Last reply
                    0
                    • L Lost User

                      I am wanting to learn how to program computers, and would like to know which language is best? I was thinking of Visual Basic because the simple code would be easier to write well and understand, but i understand it is not as fast as C++. J# and C++ CLI are out of the question because they are worthless from what i have read. Do you think i should get c# or VB?

                      R Offline
                      R Offline
                      Rama Krishna Vavilala
                      wrote on last edited by
                      #29

                      here is how I learnt programming: BASIC -> Pascal -> Scheme -> C -> C++ -> Prolog -> Visual C++ -> Java -> Visual Basic -> JavaScript -> C# -> Python -> Ruby (Just started) But as Leckey said :

                      Once you get the logic and concepts, each language just has it's own syntax.

                      This is true for Basic, Pascal, C/C++, Java, Python and Ruby. Scheme and Prolog are totally different, they make you think in a different way too. I am trying to practice some programs in them again as they are two of my favorite languages: good for hobby programming (but not good for professional programming).


                      Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -Brian Kernighan

                      B 1 Reply Last reply
                      0
                      • L Lost User

                        I am wanting to learn how to program computers, and would like to know which language is best? I was thinking of Visual Basic because the simple code would be easier to write well and understand, but i understand it is not as fast as C++. J# and C++ CLI are out of the question because they are worthless from what i have read. Do you think i should get c# or VB?

                        B Offline
                        B Offline
                        brianwelsch
                        wrote on last edited by
                        #30

                        Don't worry about the language right now. Pick something and run with it. C++, Java, C#, VB.NET are best bets to create some windows apps and get your feet wet. There are tons of online resources for those languages, so you'll be able to get some good support for questions you have. I would suggest to not try to get too ambitious in the beginning. Keep things fun and concentrate on understanding what's happening before delving into too many different topics. Once you're comfortable with the basics of data structures, looping, conditions, etc. start reading books like Code Complete for a good background in software development.

                        BW


                        If you're not part of the solution, you're part of the precipitate.
                        -- Steven Wright

                        K 1 Reply Last reply
                        0
                        • L Lost User

                          I am wanting to learn how to program computers, and would like to know which language is best? I was thinking of Visual Basic because the simple code would be easier to write well and understand, but i understand it is not as fast as C++. J# and C++ CLI are out of the question because they are worthless from what i have read. Do you think i should get c# or VB?

                          C Offline
                          C Offline
                          Christopher Duncan
                          wrote on last edited by
                          #31

                          I think a lot of this depends upon your reason for wanting to dive into programming. If it's a career move, then you should think in terms of what skills are most in demand in the marketplace, and of course how much the various skill sets pay. For careers, here are several major points to consider. Each path you choose will narrow your choices and help you define on your ultimate needs.

                          • Programmer or DBA?
                          • UNIX or Microsoft technologies?
                          • Web or client development?

                          Exploring both the job market as well as various web sites devoted to the major categories above will help you get a feel for what you would enjoy most, and what would be the most suited to staying gainfully employed. Once you've made those decisions, the languages and technologies will pretty much present themselves. As for differences in databases or languages, I wouldn't sweat it much. These days they're all pretty good. If you're not going after this to make a career of it, I'd do a similar decision tree based on what kinds of applications you'd like to write. Either way, starting at a high level and getting the basics outlined will get you most of the way there. Everything beyond that is just religion. :)

                          Author of The Career Programmer and Unite the Tribes www.PracticalStrategyConsulting.com

                          1 Reply Last reply
                          0
                          • L Lost User

                            Daniel Grunwald wrote:

                            C++/CLI is not worthless, but very valuable if you have to have to use both unmanged libraries and managed code. But it's no language for beginners - you have to know both C++ and C# before learning C++/CLI.

                            Well the only experince i have had about C++ CLI was someone on microsoft forums, i forget their name, but they were claiming to use C++ CLI and they ahd a blog about it, and he didnt come across as very smart.

                            R Offline
                            R Offline
                            Rama Krishna Vavilala
                            wrote on last edited by
                            #32

                            Did the name start with an "N"? Kyle, Is he this guy?


                            Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -Brian Kernighan

                            N 1 Reply Last reply
                            0
                            • R Rama Krishna Vavilala

                              Did the name start with an "N"? Kyle, Is he this guy?


                              Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -Brian Kernighan

                              N Offline
                              N Offline
                              Nish Nishant
                              wrote on last edited by
                              #33

                              Rama Krishna Vavilala wrote:

                              Did the name start with an "N"? Kyle, Is he this guy?

                              :-D

                              Regards, Nish


                              Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                              Currently working on C++/CLI in Action for Manning Publications. Also visit the Ultimate Toolbox blog

                              1 Reply Last reply
                              0
                              • E Ennis Ray Lynch Jr

                                Ansi C++ with the gcc compiler. Once you have mastered pointers and can write your own BST, Linked Lists, and sorts you may then move to a non-pointer language such as C#


                                On two occasions I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question. - Charles Babbage

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

                                I would say learn almost any language first before learning C++.

                                Ennis Ray Lynch, Jr. wrote:

                                Once you have mastered pointers and can write your own BST, Linked Lists

                                Your recommendation is more-or-less back-to-front. Even if you start with C++, Stroustrup recommends starting with high-level concepts and only tackling the low-level stuff later.

                                Kevin

                                1 Reply Last reply
                                0
                                • B brianwelsch

                                  Don't worry about the language right now. Pick something and run with it. C++, Java, C#, VB.NET are best bets to create some windows apps and get your feet wet. There are tons of online resources for those languages, so you'll be able to get some good support for questions you have. I would suggest to not try to get too ambitious in the beginning. Keep things fun and concentrate on understanding what's happening before delving into too many different topics. Once you're comfortable with the basics of data structures, looping, conditions, etc. start reading books like Code Complete for a good background in software development.

                                  BW


                                  If you're not part of the solution, you're part of the precipitate.
                                  -- Steven Wright

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

                                  brianwelsch wrote:

                                  start reading books like Code Complete for a good background in software development.

                                  I wish more developers were familiar with this book. Based on most of the code I've had to maintain in recent years, this seems not to be the case.:mad:

                                  Kevin

                                  1 Reply Last reply
                                  0
                                  • L Lost User

                                    I am wanting to learn how to program computers, and would like to know which language is best? I was thinking of Visual Basic because the simple code would be easier to write well and understand, but i understand it is not as fast as C++. J# and C++ CLI are out of the question because they are worthless from what i have read. Do you think i should get c# or VB?

                                    C Offline
                                    C Offline
                                    Charl
                                    wrote on last edited by
                                    #36

                                    1.First learn assembly; this will make you very popular with the old school types 2.Then learn ANSI C - this means you are serious about programming - it is still functional stuff, no objects, but hey, objects are evil anyway. 3.Now is the time to learn C++ - getting smothered in complexity is always a good thing - 4.In your spare time, do a bit of LISP, some FORTRAN and a little SMALLTALK - all really must have items for any smart programmer - and you can always add your 2c's worth to any post expounding the virtues of LISP - LISP is always better than anything else - except maybe.....assembly! 5. On the other hand, if you have bills to pay and want a life(working 95 hours a week instead of 100 is not a life!), learn Java or C# - Java will take longer and the tools generally suck - but at least you will have a current skill. If you are serious about programming, you will pickup all the art and beauty of data structures etc. If not, well, at least you have a job!

                                    1 Reply Last reply
                                    0
                                    • L Lost User

                                      I am wanting to learn how to program computers, and would like to know which language is best? I was thinking of Visual Basic because the simple code would be easier to write well and understand, but i understand it is not as fast as C++. J# and C++ CLI are out of the question because they are worthless from what i have read. Do you think i should get c# or VB?

                                      A Offline
                                      A Offline
                                      Ali_Os
                                      wrote on last edited by
                                      #37

                                      My opinion is language name doesn't matter. Programing logic, algorityhms and data structures are important. Programing language is coming later. If you know programing logic you can use different programing language. Ali_Os

                                      1 Reply Last reply
                                      0
                                      • W WillemM

                                        It looks to me as trying to climb the mount everest and you don't even know how to walk. C++ is very difficult, especially with the pointers and dereferencing stuff. I would strongly advise something a little less error prone, like java, C# or VB. Learning from a book can make stuff a lot easier, since they usually provide samples and different excersises to work on.

                                        WM. What about weapons of mass-construction?

                                        P Offline
                                        P Offline
                                        paulgafa
                                        wrote on last edited by
                                        #38

                                        The best language to start with is assembly since you understand how the machine works... but that is not something for todays devlopers, thats why many application such when it comes to preformance. I suggest you start with c, then move to c++, jave or c#. Raingod

                                        1 Reply Last reply
                                        0
                                        • L Lost User

                                          I am wanting to learn how to program computers, and would like to know which language is best? I was thinking of Visual Basic because the simple code would be easier to write well and understand, but i understand it is not as fast as C++. J# and C++ CLI are out of the question because they are worthless from what i have read. Do you think i should get c# or VB?

                                          R Offline
                                          R Offline
                                          reshi999
                                          wrote on last edited by
                                          #39

                                          c#, vb.net, vfp, javascript, tsql and java are my weapons of choice, but it depends on what I want to do - Generally for complex projects I use several languages to achieve my goals. I'd recommend starting with something simple like vb6 or javascript in order to learn the basics of variables, loops, objects and all that. Then set yourself a simple project (address book, web page calculator, etc) and see how you get on. If confused about howto do something then a google search helps :)

                                          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