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. C++ or ...

C++ or ...

Scheduled Pinned Locked Moved The Lounge
c++questioncsharplearning
57 Posts 38 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.
  • J Jim Crafton

    Be a man and start with C++. After that, everything will seem easy sailing. Don't let the naysayers and pink-tutu-wearing-my-pretty-pony-lunch-box-carrying-little-girls convince you otherwise.

    ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

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

    Jim Crafton wrote:

    my-pretty-pony-lunch-box

    I had Wonder Woman thank you very much!

    _____________________________________________ Flea Market! It's just like...it's just like...A MINI-MALL!

    J M 2 Replies Last reply
    0
    • N New5

      Hi everyone, I have a question, if you see forums on the codeproject they are active forums like Visual C++ / MFC,C#,... and at all forums Visual C++ / MFC is a busy forum (of course except the Lounge)but my question is does Visual c++ is a live language or not,maybe you want to know why I ask this question I want to know does start to learn C++ is correct (because c++ isnt new istead C# or other languages) or I must to start with C# or other language? If you want to decide whats your choice? Thanks

      A Offline
      A Offline
      Abu Mami
      wrote on last edited by
      #12

      Intercal - no question

      U 1 Reply Last reply
      0
      • D Dinobot_Slag

        Might as well start with sticks and stones. ;)

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

        No, that's raw binary!

        _____________________________________________ Flea Market! It's just like...it's just like...A MINI-MALL!

        1 Reply Last reply
        0
        • L leckey 0

          Jim Crafton wrote:

          my-pretty-pony-lunch-box

          I had Wonder Woman thank you very much!

          _____________________________________________ Flea Market! It's just like...it's just like...A MINI-MALL!

          J Offline
          J Offline
          Jim Crafton
          wrote on last edited by
          #14

          Yes but do you *still* carry it to work now?

          ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

          L 1 Reply Last reply
          0
          • A Abu Mami

            Intercal - no question

            U Offline
            U Offline
            User of Users Group
            wrote on last edited by
            #15

            I'd start with 'use cases', sample programs that deal with generic libraries, data structures and both compile and runtime metadata. You will jump over the OODA trap in no time and master it better than any first-language-C#/Java programmer. Proof: they are rubbish at assembly, pointers to pointers (despite having a keyword for it) and love their class frameworks :-)

            1 Reply Last reply
            0
            • J Jim Crafton

              Yes but do you *still* carry it to work now?

              ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

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

              No, but I have a handbag and that has the cover of Wonder Woman #300 on the front.

              _____________________________________________ Flea Market! It's just like...it's just like...A MINI-MALL!

              1 Reply Last reply
              0
              • N New5

                Hi everyone, I have a question, if you see forums on the codeproject they are active forums like Visual C++ / MFC,C#,... and at all forums Visual C++ / MFC is a busy forum (of course except the Lounge)but my question is does Visual c++ is a live language or not,maybe you want to know why I ask this question I want to know does start to learn C++ is correct (because c++ isnt new istead C# or other languages) or I must to start with C# or other language? If you want to decide whats your choice? Thanks

                N Offline
                N Offline
                NormDroid
                wrote on last edited by
                #17

                Here we go ago, go figure, trends...

                Roger Irrelevant "he's completely hatstand"

                1 Reply Last reply
                0
                • L leckey 0

                  Jim Crafton wrote:

                  my-pretty-pony-lunch-box

                  I had Wonder Woman thank you very much!

                  _____________________________________________ Flea Market! It's just like...it's just like...A MINI-MALL!

                  M Offline
                  M Offline
                  Mark Salsbery
                  wrote on last edited by
                  #18

                  leckey wrote:

                  I had Wonder Woman thank you very much!

                  Yeah, but you're a girl.  Real men carry My Little Pony lunchboxes.

                  Mark Salsbery Microsoft MVP - Visual C++ :java:

                  M 1 Reply Last reply
                  0
                  • N New5

                    Hi everyone, I have a question, if you see forums on the codeproject they are active forums like Visual C++ / MFC,C#,... and at all forums Visual C++ / MFC is a busy forum (of course except the Lounge)but my question is does Visual c++ is a live language or not,maybe you want to know why I ask this question I want to know does start to learn C++ is correct (because c++ isnt new istead C# or other languages) or I must to start with C# or other language? If you want to decide whats your choice? Thanks

                    C Offline
                    C Offline
                    Christian Graus
                    wrote on last edited by
                    #19

                    Well, it depends what you want to do. C# is easier to learn, and just as good for a lot of things, but C++ is more powerful, people can't read your code, etc. The main thing I'd say is, learn more than one language. Who says you can't learn both ?

                    Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                    1 Reply Last reply
                    0
                    • N New5

                      Thank you for your response I want to know if I choose C++ for learn is it a correct choise or not.

                      I Offline
                      I Offline
                      Ilya Verbitskiy
                      wrote on last edited by
                      #20

                      I've started from BASIC for DOS many years ago. After that I've spend a lot of time with C and C++ developing Linux applications. This is hard job, but interesting. And after this work experience I had moved to .NET and C#. It was easy very much. I think you should start from C++ and also learn OOP/OOD. After this you will not have any problems with another languages.

                      1 Reply Last reply
                      0
                      • N New5

                        Hi everyone, I have a question, if you see forums on the codeproject they are active forums like Visual C++ / MFC,C#,... and at all forums Visual C++ / MFC is a busy forum (of course except the Lounge)but my question is does Visual c++ is a live language or not,maybe you want to know why I ask this question I want to know does start to learn C++ is correct (because c++ isnt new istead C# or other languages) or I must to start with C# or other language? If you want to decide whats your choice? Thanks

                        A Offline
                        A Offline
                        Andrew Drummond
                        wrote on last edited by
                        #21

                        Forget learning MFC - there is nothing to learn from it except bad style. I would start by learning C from Kernighan & Ritchie. The language is simple with 32 keywords and is quick to learn. As well as several other languages being similar to it, the main advantage will be your gain in understanding of the stack and heap. It has been shown that good programmers have a consistent model of what a computer is doing to their program, whereas dodgy ones don't. Working with this book will help give you that model. The book is marvelously written and should instill you with an enthusiam for programming which you might not get from other texts. The managed languages hid most of this stack and heap usage from you but is very useful to know what is happening a little under the hood, so you can understand why performance problems occur, what the garbage collector is doing, etc. Type in and run the examples from the book and then do the exercises - it won't take long. Then learn something like Java or C# rather than C++. This will help with your design, imersing your in a more OO way of doing things than you would get from starting with C++, which is very powerful but, because it supports nearly all design and programming styles it is easy for you to go off in the wrong way, such as structural programming. Then you can learn C++ if you want more power, such as with generic programming, or even using the scoping style that C++ destuctors allow you. Avoid any book by Herb Schildt. Avoid the Java in a Nutshell books on O'Reilly. I haven't looked at the Petzold C# books but I would be wary based on his programming style from his Windows books. If you are going to learn C++ then Accelerated C++ by Andrew Keonig approaches the matter in a more modern style. You could then profitably read The C++ Object model by Stanley Lippman, assumming that you have read the Kernighan and Ritchie book. www.accu.org has a good book review list as well. regards, Andrew

                        C H 2 Replies Last reply
                        0
                        • M Mark Salsbery

                          leckey wrote:

                          I had Wonder Woman thank you very much!

                          Yeah, but you're a girl.  Real men carry My Little Pony lunchboxes.

                          Mark Salsbery Microsoft MVP - Visual C++ :java:

                          M Offline
                          M Offline
                          MrOzark
                          wrote on last edited by
                          #22

                          OK, so now that we are sufficiently on subject... If you study C#, what kind of lunch box? if (UseC++ == true) { Messagebox.Show("You have the Spiderman lunchbox"); } else { Messagebox.Show("You hunt and kill and eat raw meat.") } No time for lunch. The spice must flow!

                          S 1 Reply Last reply
                          0
                          • N New5

                            Hi everyone, I have a question, if you see forums on the codeproject they are active forums like Visual C++ / MFC,C#,... and at all forums Visual C++ / MFC is a busy forum (of course except the Lounge)but my question is does Visual c++ is a live language or not,maybe you want to know why I ask this question I want to know does start to learn C++ is correct (because c++ isnt new istead C# or other languages) or I must to start with C# or other language? If you want to decide whats your choice? Thanks

                            T Offline
                            T Offline
                            tec goblin
                            wrote on last edited by
                            #23

                            You should start with Object Oriented programming basics (I think they have already advised you about that, with an obscure acronym). That's very important in understanding the logic of a lot of languages and architectures out there. I suggest you pick C# for the task. It has enough features to make you understand all Object Oriented programming and won't confuse you with obscure notations, nor it cause you lose time with copy constructors and garbage collection. Pay attention in the difference of value types and reference types, and what the ref does in a parameter declaration. When you feel comfortable, read also about garbage collection. It's not something you use often, but it's essential in understanding what happens underneath. But don't let people persuade you that you should learn C++ first to understand what happens underneath immediately. C# can do all that, and will guide you in a proper way from the basics to the advanced stuff, without finding yourself losing time with obscure memory leaks etc. Then see the new advanced features of C#. LINQ, and some python like features it has. They are a good introduction to other types of logic. I hope this helps. ;)

                            1 Reply Last reply
                            0
                            • N New5

                              Hi everyone, I have a question, if you see forums on the codeproject they are active forums like Visual C++ / MFC,C#,... and at all forums Visual C++ / MFC is a busy forum (of course except the Lounge)but my question is does Visual c++ is a live language or not,maybe you want to know why I ask this question I want to know does start to learn C++ is correct (because c++ isnt new istead C# or other languages) or I must to start with C# or other language? If you want to decide whats your choice? Thanks

                              A Offline
                              A Offline
                              Adrian Timberlake
                              wrote on last edited by
                              #24

                              Hmmm, to be in a position where you want to start learning a language? That seems a very long time ago for me and was a mixture of brand new command line operating systems, front panel programming, BASIC interpreters, peeking and poking machine code into blocks of memory and then PASCAL. If I had my choice again, and from where I'am now I would learn C#, I've played around with it, don't use it and feel hemmed in by its formalised constructs, however you can do so much with it and it keeps you on the straight and narrow. Its where the big M is investing lots of its development money so climb on board that band wagon, I don't think you'll get frustrated by its limitations as we all did with languages in the early days. The true breadth of a language like C++ or C# is limited only by your imagination and your determination to understand someone else's code libraries. I have to admit to agreeing to some of the other comments, if you truly are starting from scratch its not a language you need to learn but a formal design methodology, use the language to exercise the method. for me its C and C++ all the way, there are only languages in the image of these two incredibly flexible build tools. @

                              1 Reply Last reply
                              0
                              • M MrOzark

                                OK, so now that we are sufficiently on subject... If you study C#, what kind of lunch box? if (UseC++ == true) { Messagebox.Show("You have the Spiderman lunchbox"); } else { Messagebox.Show("You hunt and kill and eat raw meat.") } No time for lunch. The spice must flow!

                                S Offline
                                S Offline
                                ScottM1
                                wrote on last edited by
                                #25

                                Was the "== true" necessary? if (UseC++) { Messagebox.Show("You have the Spiderman lunchbox"); } else { Messagebox.Show("You hunt and kill and eat raw meat.") } Plus you have an illegal variable name :)

                                There are 10 types of people in the world, those who understand binary and those who dont.

                                M D 2 Replies Last reply
                                0
                                • N New5

                                  Hi everyone, I have a question, if you see forums on the codeproject they are active forums like Visual C++ / MFC,C#,... and at all forums Visual C++ / MFC is a busy forum (of course except the Lounge)but my question is does Visual c++ is a live language or not,maybe you want to know why I ask this question I want to know does start to learn C++ is correct (because c++ isnt new istead C# or other languages) or I must to start with C# or other language? If you want to decide whats your choice? Thanks

                                  S Offline
                                  S Offline
                                  ScottM1
                                  wrote on last edited by
                                  #26

                                  C# gets my vote

                                  There are 10 types of people in the world, those who understand binary and those who dont.

                                  1 Reply Last reply
                                  0
                                  • N New5

                                    Hi everyone, I have a question, if you see forums on the codeproject they are active forums like Visual C++ / MFC,C#,... and at all forums Visual C++ / MFC is a busy forum (of course except the Lounge)but my question is does Visual c++ is a live language or not,maybe you want to know why I ask this question I want to know does start to learn C++ is correct (because c++ isnt new istead C# or other languages) or I must to start with C# or other language? If you want to decide whats your choice? Thanks

                                    A Offline
                                    A Offline
                                    Adam Tibi
                                    wrote on last edited by
                                    #27

                                    Hi, The guys up there want you to study C++ to torture you because they have been tortured! I am one guy that have been tortured as well. You don't need C++ to understand C#, actually, you better use C# directly and don't inherit deprecated and old practices from C++! You don't need to learn C to learn C++ to learn Java to learn C#, just start with C#. Computer Science is evolving quickly, by the time you master C#, then D# will arrive and by then C++ will be used as COBOL is being used today! My opinion is that rather than you spend time to study C++ then to study C#, invest the time in studying more C# and OOP. Kind regards, Adam Tibi

                                    Make it simple, as simple as possible, but not simpler.

                                    1 Reply Last reply
                                    0
                                    • N New5

                                      Hi everyone, I have a question, if you see forums on the codeproject they are active forums like Visual C++ / MFC,C#,... and at all forums Visual C++ / MFC is a busy forum (of course except the Lounge)but my question is does Visual c++ is a live language or not,maybe you want to know why I ask this question I want to know does start to learn C++ is correct (because c++ isnt new istead C# or other languages) or I must to start with C# or other language? If you want to decide whats your choice? Thanks

                                      H Offline
                                      H Offline
                                      halfix
                                      wrote on last edited by
                                      #28

                                      I think this is more of a philosophical question. There isn't the one true answer on that. It depends on many factors - where you come from, where you want to go, your working situation (all from an IT perspective). If you're young and think that serious programming will be a significant part of your future (business) life and you like to solve sophisticated coding problems, then starting with C++ might be an option. C(++) is still the one and only no-limits programming language (besides assembly of course :)) and when you are able to master C(++), learning other higher-level languages will look very easy to you. From my experience it is useful to have knowledge in programming on C-level even if you actually code in higher-level languages, because it helps to understand what happens under the hood and why some things behave the way they do – and when speed and small footprint really count, there is no alternative anyway. If your goal is just to get into business and to be productive soon, then C++ may not be the right choice, since it has a slow learning curve and many potential traps which will cost you days (and sometimes even nights or weekends) to fight through. C(++) is still alive and may survive some of the trendy higher level languages, but it is bare bones coding and definitely not always the right tool of choice. Gerd -- modified at 7:23 Friday 3rd August, 2007

                                      1 Reply Last reply
                                      0
                                      • N New5

                                        Hi everyone, I have a question, if you see forums on the codeproject they are active forums like Visual C++ / MFC,C#,... and at all forums Visual C++ / MFC is a busy forum (of course except the Lounge)but my question is does Visual c++ is a live language or not,maybe you want to know why I ask this question I want to know does start to learn C++ is correct (because c++ isnt new istead C# or other languages) or I must to start with C# or other language? If you want to decide whats your choice? Thanks

                                        L Offline
                                        L Offline
                                        lauhw2000
                                        wrote on last edited by
                                        #29

                                        My 2 cents for your question: If your boss said, C#, then you should go for it. If your boss said, 'C$' (ie, a new computer language that has not been invented yet), we should go for it too. My conclusion is it depends on the market needs and your employer.

                                        Lau Hon Wan

                                        1 Reply Last reply
                                        0
                                        • N New5

                                          Thank you for your response I want to know if I choose C++ for learn is it a correct choise or not.

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

                                          Well Java would be my prefered language, it's more open and portable. Choose wise.

                                          J 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