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++

C++

Scheduled Pinned Locked Moved The Lounge
c++visual-studiocomquestioncareer
47 Posts 18 Posters 40 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.
  • N Nish Nishant

    If you are using a recent compiler, you should be able to use C++ 11 features like lambdas that would make it similar to your C#/Java programming.

    Regards, Nish


    Check out 7 reasons C++ devs will love the VS 14 CTP by Nish Sivakumar Blog: voidnish.wordpress.com

    M Offline
    M Offline
    Marc Clifton
    wrote on last edited by
    #4

    That would help, but it's also things like writing header files to define the class structure and the a separate cpp file for the implementation. Seems archaic. And then of course, the huge issue -- having to remember to delete objects! Having automated garbage collection is just so nice. Marc

    Latest Articles - APOD Scraper and Hunt the Wumpus Short video on Membrane Computing Hunt the Wumpus (A HOPE video)

    N L 2 Replies Last reply
    0
    • M Marc Clifton

      Speaking of skills I had once learned, I find myself coding in C++ again for the Beaglebone Black. While it's a nostalgic experience, I really, really, don't miss it. It's as if someone were to give me back my first car in the same condition it was in when I gave it away. Functional, does the job, etc., but old and clunky. Oh, and have I said before how I loathe Eclipse? Indeed I have. Unfortunately, the Eclipse IDE just adds to the annoyance of working in C++. For $350, this[^] is becoming more and more attractive. Marc

      Latest Articles - APOD Scraper and Hunt the Wumpus Short video on Membrane Computing Hunt the Wumpus (A HOPE video)

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #5

      Marc Clifton wrote:

      give me back my first car in the same condition it was in when I gave it away. Functional, does the job, etc., but old and clunky.

      I totalled mine. Then it turned out that it was insured for more than I paid for it, so I made money on the transaction. Plus cool scars that chicks dig. :cool:

      You'll never get very far if all you do is follow instructions.

      N 1 Reply Last reply
      0
      • T TheGreatAndPowerfulOz

        similar in concept, but the syntax leaves a bit to be desired.

        If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
        You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
        Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

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

        That depends on what you are used to. A lot of my C++ dev friends hate C# syntax.

        Regards, Nish


        Check out 7 reasons C++ devs will love the VS 14 CTP by Nish Sivakumar Blog: voidnish.wordpress.com

        T E 2 Replies Last reply
        0
        • N Nish Nishant

          That depends on what you are used to. A lot of my C++ dev friends hate C# syntax.

          Regards, Nish


          Check out 7 reasons C++ devs will love the VS 14 CTP by Nish Sivakumar Blog: voidnish.wordpress.com

          T Offline
          T Offline
          TheGreatAndPowerfulOz
          wrote on last edited by
          #7

          point taken.

          If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
          You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
          Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

          N 1 Reply Last reply
          0
          • M Marc Clifton

            That would help, but it's also things like writing header files to define the class structure and the a separate cpp file for the implementation. Seems archaic. And then of course, the huge issue -- having to remember to delete objects! Having automated garbage collection is just so nice. Marc

            Latest Articles - APOD Scraper and Hunt the Wumpus Short video on Membrane Computing Hunt the Wumpus (A HOPE video)

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

            Marc Clifton wrote:

            And then of course, the huge issue -- having to remember to delete objects! Having automated garbage collection is just so nice

            Well, once you get used to unique_ptr and shared_ptr, that should take care of that issue :-)

            Regards, Nish


            Check out 7 reasons C++ devs will love the VS 14 CTP by Nish Sivakumar Blog: voidnish.wordpress.com

            T M 2 Replies Last reply
            0
            • P PIEBALDconsult

              Marc Clifton wrote:

              give me back my first car in the same condition it was in when I gave it away. Functional, does the job, etc., but old and clunky.

              I totalled mine. Then it turned out that it was insured for more than I paid for it, so I made money on the transaction. Plus cool scars that chicks dig. :cool:

              You'll never get very far if all you do is follow instructions.

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

              Nice way to take advantage of Marc's boring analogy and use it as a chance to tell us about your first car. Been dying to do that, haven't you? :rolleyes:

              Regards, Nish


              Check out 7 reasons C++ devs will love the VS 14 CTP by Nish Sivakumar Blog: voidnish.wordpress.com

              P T M 3 Replies Last reply
              0
              • N Nish Nishant

                Marc Clifton wrote:

                And then of course, the huge issue -- having to remember to delete objects! Having automated garbage collection is just so nice

                Well, once you get used to unique_ptr and shared_ptr, that should take care of that issue :-)

                Regards, Nish


                Check out 7 reasons C++ devs will love the VS 14 CTP by Nish Sivakumar Blog: voidnish.wordpress.com

                T Offline
                T Offline
                TheGreatAndPowerfulOz
                wrote on last edited by
                #10

                :thumbsup:

                If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
                You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
                Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

                1 Reply Last reply
                0
                • T TheGreatAndPowerfulOz

                  point taken.

                  If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
                  You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
                  Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

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

                  Thank you :-) This is rare in these forums these days.

                  Regards, Nish


                  Check out 7 reasons C++ devs will love the VS 14 CTP by Nish Sivakumar Blog: voidnish.wordpress.com

                  T 1 Reply Last reply
                  0
                  • N Nish Nishant

                    Nice way to take advantage of Marc's boring analogy and use it as a chance to tell us about your first car. Been dying to do that, haven't you? :rolleyes:

                    Regards, Nish


                    Check out 7 reasons C++ devs will love the VS 14 CTP by Nish Sivakumar Blog: voidnish.wordpress.com

                    T Offline
                    T Offline
                    TheGreatAndPowerfulOz
                    wrote on last edited by
                    #12

                    and the chicks. :wtf:

                    If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
                    You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
                    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

                    P 1 Reply Last reply
                    0
                    • N Nish Nishant

                      Nice way to take advantage of Marc's boring analogy and use it as a chance to tell us about your first car. Been dying to do that, haven't you? :rolleyes:

                      Regards, Nish


                      Check out 7 reasons C++ devs will love the VS 14 CTP by Nish Sivakumar Blog: voidnish.wordpress.com

                      P Offline
                      P Offline
                      PIEBALDconsult
                      wrote on last edited by
                      #13

                      Pfft, no. The scars! :-D

                      You'll never get very far if all you do is follow instructions.

                      1 Reply Last reply
                      0
                      • N Nish Nishant

                        Thank you :-) This is rare in these forums these days.

                        Regards, Nish


                        Check out 7 reasons C++ devs will love the VS 14 CTP by Nish Sivakumar Blog: voidnish.wordpress.com

                        T Offline
                        T Offline
                        TheGreatAndPowerfulOz
                        wrote on last edited by
                        #14

                        I've programmed in both, in fact, I cut my teeth on C++, programmed in it exclusively for over 15 years and I really like the language. But I also have, in more recent years, spent most of my time doing C#, it has much to offer. And I've grown used to they way things are done in C#, so now I find myself wishing C++ would do some things the C# way --sometimes-- and other times, I wish for C# to adopt some C++ isms. Almost sounds like I'm talking about "D". Maybe I should make a "D++" language. We could always use another... :rolleyes:

                        If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
                        You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
                        Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

                        N L 2 Replies Last reply
                        0
                        • T TheGreatAndPowerfulOz

                          I've programmed in both, in fact, I cut my teeth on C++, programmed in it exclusively for over 15 years and I really like the language. But I also have, in more recent years, spent most of my time doing C#, it has much to offer. And I've grown used to they way things are done in C#, so now I find myself wishing C++ would do some things the C# way --sometimes-- and other times, I wish for C# to adopt some C++ isms. Almost sounds like I'm talking about "D". Maybe I should make a "D++" language. We could always use another... :rolleyes:

                          If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
                          You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
                          Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

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

                          C# sure is easier to write and maintain. Every time I've taken a short break from C++ and done only C#, the return to C++ had been a little difficult. Your brain just struggles for a day or two getting used to having to think more. The faster way more responsive apps make up for that though :-)

                          Regards, Nish


                          Check out 7 reasons C++ devs will love the VS 14 CTP by Nish Sivakumar Blog: voidnish.wordpress.com

                          T 1 Reply Last reply
                          0
                          • N Nish Nishant

                            C# sure is easier to write and maintain. Every time I've taken a short break from C++ and done only C#, the return to C++ had been a little difficult. Your brain just struggles for a day or two getting used to having to think more. The faster way more responsive apps make up for that though :-)

                            Regards, Nish


                            Check out 7 reasons C++ devs will love the VS 14 CTP by Nish Sivakumar Blog: voidnish.wordpress.com

                            T Offline
                            T Offline
                            TheGreatAndPowerfulOz
                            wrote on last edited by
                            #16

                            Indeed.

                            If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
                            You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
                            Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

                            1 Reply Last reply
                            0
                            • M Marc Clifton

                              Speaking of skills I had once learned, I find myself coding in C++ again for the Beaglebone Black. While it's a nostalgic experience, I really, really, don't miss it. It's as if someone were to give me back my first car in the same condition it was in when I gave it away. Functional, does the job, etc., but old and clunky. Oh, and have I said before how I loathe Eclipse? Indeed I have. Unfortunately, the Eclipse IDE just adds to the annoyance of working in C++. For $350, this[^] is becoming more and more attractive. Marc

                              Latest Articles - APOD Scraper and Hunt the Wumpus Short video on Membrane Computing Hunt the Wumpus (A HOPE video)

                              P Offline
                              P Offline
                              Paul M Watt
                              wrote on last edited by
                              #17

                              At $100 I highly recommend this tool: http://www.wingdb.com/wgFeatures.htm[^] I've been using it since 2010. It works extremely well. I will have to check out VisualGDB.

                              M 1 Reply Last reply
                              0
                              • M Marc Clifton

                                Speaking of skills I had once learned, I find myself coding in C++ again for the Beaglebone Black. While it's a nostalgic experience, I really, really, don't miss it. It's as if someone were to give me back my first car in the same condition it was in when I gave it away. Functional, does the job, etc., but old and clunky. Oh, and have I said before how I loathe Eclipse? Indeed I have. Unfortunately, the Eclipse IDE just adds to the annoyance of working in C++. For $350, this[^] is becoming more and more attractive. Marc

                                Latest Articles - APOD Scraper and Hunt the Wumpus Short video on Membrane Computing Hunt the Wumpus (A HOPE video)

                                C Offline
                                C Offline
                                CPallini
                                wrote on last edited by
                                #18

                                Last standardization made C++ much more attractive, in my opinion. However, I recognize that highly depends on your needs. For instance, I still love coding in C but I prefer Lua for fast prototyping and whenever higher level features are of great advantage (for the coder).

                                Marc Clifton wrote:

                                Oh, and have I said before how I loathe Eclipse? Indeed I have. Unfortunately, the Eclipse IDE just adds to the annoyance of working in C++

                                Man, using Java code for writing C++ is frustrating, both for the developer and the C++ itself. On the lucky side vi is written in C.

                                THESE PEOPLE REALLY BOTHER ME!! How can they know what you should do without knowing what you want done?!?! -- C++ FQA Lite

                                M 1 Reply Last reply
                                0
                                • N Nish Nishant

                                  Marc Clifton wrote:

                                  And then of course, the huge issue -- having to remember to delete objects! Having automated garbage collection is just so nice

                                  Well, once you get used to unique_ptr and shared_ptr, that should take care of that issue :-)

                                  Regards, Nish


                                  Check out 7 reasons C++ devs will love the VS 14 CTP by Nish Sivakumar Blog: voidnish.wordpress.com

                                  M Offline
                                  M Offline
                                  Marc Clifton
                                  wrote on last edited by
                                  #19

                                  Nish Sivakumar wrote:

                                  Well, once you get used to unique_ptr and shared_ptr, that should take care of that issue

                                  Definitely useful. While I sound like a curmudgeon, it's still a bandaid. But...thank you for pointing (harhar) those out -- I'll make use of them, looks like gcc-linaro supports those constructs. Guess I should tool up on my knowledge of where C++ has gone since I last used it. :-O Marc

                                  Latest Articles - APOD Scraper and Hunt the Wumpus Short video on Membrane Computing Hunt the Wumpus (A HOPE video)

                                  1 Reply Last reply
                                  0
                                  • P Paul M Watt

                                    At $100 I highly recommend this tool: http://www.wingdb.com/wgFeatures.htm[^] I've been using it since 2010. It works extremely well. I will have to check out VisualGDB.

                                    M Offline
                                    M Offline
                                    Marc Clifton
                                    wrote on last edited by
                                    #20

                                    Paul M Watt wrote:

                                    At $100 I highly recommend this tool:

                                    Thanks! Looks quite useful. Marc

                                    Latest Articles - APOD Scraper and Hunt the Wumpus Short video on Membrane Computing Hunt the Wumpus (A HOPE video)

                                    1 Reply Last reply
                                    0
                                    • C CPallini

                                      Last standardization made C++ much more attractive, in my opinion. However, I recognize that highly depends on your needs. For instance, I still love coding in C but I prefer Lua for fast prototyping and whenever higher level features are of great advantage (for the coder).

                                      Marc Clifton wrote:

                                      Oh, and have I said before how I loathe Eclipse? Indeed I have. Unfortunately, the Eclipse IDE just adds to the annoyance of working in C++

                                      Man, using Java code for writing C++ is frustrating, both for the developer and the C++ itself. On the lucky side vi is written in C.

                                      THESE PEOPLE REALLY BOTHER ME!! How can they know what you should do without knowing what you want done?!?! -- C++ FQA Lite

                                      M Offline
                                      M Offline
                                      Marc Clifton
                                      wrote on last edited by
                                      #21

                                      CPallini wrote:

                                      On the lucky side vi is written in C.

                                      Unlike many of the PC and MacIntosh editors, the mouse does not move the cursor within the vi editor screen (or window). You must use the the key commands listed below. On some UNIX platforms, the arrow keys may be used as well; however, since vi was designed with the Qwerty keyboard (containing no arrow keys) in mind, the arrow keys sometimes produce strange effects in vi and should be avoided. OK, there's the stone ages, and then there's primordial ooze. vi belongs to the latter. ;) Marc

                                      Latest Articles - APOD Scraper and Hunt the Wumpus Short video on Membrane Computing Hunt the Wumpus (A HOPE video)

                                      T C P 3 Replies Last reply
                                      0
                                      • M Marc Clifton

                                        CPallini wrote:

                                        On the lucky side vi is written in C.

                                        Unlike many of the PC and MacIntosh editors, the mouse does not move the cursor within the vi editor screen (or window). You must use the the key commands listed below. On some UNIX platforms, the arrow keys may be used as well; however, since vi was designed with the Qwerty keyboard (containing no arrow keys) in mind, the arrow keys sometimes produce strange effects in vi and should be avoided. OK, there's the stone ages, and then there's primordial ooze. vi belongs to the latter. ;) Marc

                                        Latest Articles - APOD Scraper and Hunt the Wumpus Short video on Membrane Computing Hunt the Wumpus (A HOPE video)

                                        T Offline
                                        T Offline
                                        TheGreatAndPowerfulOz
                                        wrote on last edited by
                                        #22

                                        :thumbsup:

                                        If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
                                        You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
                                        Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

                                        1 Reply Last reply
                                        0
                                        • N Nish Nishant

                                          Nice way to take advantage of Marc's boring analogy and use it as a chance to tell us about your first car. Been dying to do that, haven't you? :rolleyes:

                                          Regards, Nish


                                          Check out 7 reasons C++ devs will love the VS 14 CTP by Nish Sivakumar Blog: voidnish.wordpress.com

                                          M Offline
                                          M Offline
                                          Marc Clifton
                                          wrote on last edited by
                                          #23

                                          Nish Sivakumar wrote:

                                          Marc's boring analogy

                                          Boring? BORING??? Come now, I spent actual BC's (brain cycles) working that analogy. A little respect, please! Marc

                                          Latest Articles - APOD Scraper and Hunt the Wumpus Short video on Membrane Computing Hunt the Wumpus (A HOPE video)

                                          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