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. Re: Why I like C++

Re: Why I like C++

Scheduled Pinned Locked Moved The Lounge
csharpquestionc++javavisual-studio
20 Posts 11 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.
  • Y Yvar Birx

    I personally do not really like C++, I have tried it before but the syntax is just way too difficult for me to remember. If Visual Studio would make a better Help Box for it I might consider using it because of it's performance. But, I guess it's just like learning something completely new; Hard, but pays off. But, I still have a question for the people who are experienced in C++: How did you learn it ? And did you code in another coding language before C++ ? I have coded in C# for two years, and java for a year and when I step over to C++ to even make a 'Hello World' program I already quit since it's hard to remember the capitalization. -Yvar

    P Offline
    P Offline
    Pete OHanlon
    wrote on last edited by
    #11

    Yvar Birx wrote:

    I have coded in C# for two years, and java for a year and when I step over to C++ to even make a 'Hello World' program I already quit since it's hard to remember the capitalization.

    How are you finding C++ capitalisation hard if you already know C# and Java? I learned C++ back in the 90s after many years as a C developer. The hardest part was making the leap from procedural to OO code, and a lot of my early attempts were cringe worthy, but if you keep trying and reading, you soon get to grips with the nuances. Read other peoples code. Analyse it, but don't rely on it as being an example of perfect code - work out for yourself what works and what doesn't - that way, you'll develop your own coding style and reasons for what works. The things you'll find hardest, coming from managed languages, is having to remember to delete objects; and pointers. Initially, pointers will seem like voodoo to you, but stick with it - once you play around with them for a while, it soon starts to come together. I've recently started to get back into C++, and have been reading this[^] book. If you know C#, it's the perfect book to kickstart your understanding of the newest flavour of C++.

    *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

    "Mind bleach! Send me mind bleach!" - Nagy Vilmos

    CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

    1 Reply Last reply
    0
    • L Lost User

      Cobol C on DOS (Borland and Watcom compilers) C with Win32 C++ with mfc (I don't recommend learning c++ via mfc) Lots more c++

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #12

      _Josh_ wrote:

      Cobol
      C on DOS (Borland and Watcom compilers)
      C with Win32
      C++ with mfc (I don't recommend learning c++ via mfc)
      Lots more c++

      I see you're still thinking with your doodle.

      Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004

      L 1 Reply Last reply
      0
      • L Lost User

        Cobol C on DOS (Borland and Watcom compilers) C with Win32 C++ with mfc (I don't recommend learning c++ via mfc) Lots more c++

        S Offline
        S Offline
        Shao Voon Wong
        wrote on last edited by
        #13

        I am not sure if you are serious or trying to be funny. My language order is same as you. Cobol is my 1st language in a computer diploma course though I do not remember its syntax. Cobol is damn boring. I learn C on DOS using Borland in my electronic diploma course. I self-taught myself C with Win32 using a game programming book more than 10 years ago. Later, I also self-taught myself C++ and MFC when I wanted to switch field.

        L 1 Reply Last reply
        0
        • L Lost User

          _Josh_ wrote:

          Cobol
          C on DOS (Borland and Watcom compilers)
          C with Win32
          C++ with mfc (I don't recommend learning c++ via mfc)
          Lots more c++

          I see you're still thinking with your doodle.

          Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #14

          Always

          1 Reply Last reply
          0
          • S Shao Voon Wong

            I am not sure if you are serious or trying to be funny. My language order is same as you. Cobol is my 1st language in a computer diploma course though I do not remember its syntax. Cobol is damn boring. I learn C on DOS using Borland in my electronic diploma course. I self-taught myself C with Win32 using a game programming book more than 10 years ago. Later, I also self-taught myself C++ and MFC when I wanted to switch field.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #15

            Cobol was the first language learnt at school and at the same time I worked part time for a car yard which had a Data General MV computer and used cobol. C++ is much more fun but I think the win32-MFC route is a tough learning curve. For the last 8 years I've done c++ on linux which has been another learning curve.

            1 Reply Last reply
            0
            • R RugbyLeague

              "How did you learn it?" I haven't used C++ for some years but it was my main development language for about 10 years. My first serious program in C++ was a compiler and run time for a programming language I had designed - I already had it written and working in SPL (a PL/1 sub/super set on Prime minis) but the Prime was going so I had to rewrite it in C++ for Unix and Windows. I can't say I found it too difficult - it was my first OO language but once I got the hang of that the translation from SPL to C++ was relatively simple.

              Mike HankeyM Offline
              Mike HankeyM Offline
              Mike Hankey
              wrote on last edited by
              #16

              RugbyLeague wrote:

              I already had it written and working in SPL (a PL/1 sub/super set on Prime minis) but the Prime was going so I had to rewrite it in C++ for Unix and Windows.

              PL/1 was the first programming language that I learned not many people even know about it.

              VS2010/Atmel Studio 6.0 ToDo Manager Extension
              Version 3.0 now available. There is no place like 127.0.0.1

              R 1 Reply Last reply
              0
              • Mike HankeyM Mike Hankey

                RugbyLeague wrote:

                I already had it written and working in SPL (a PL/1 sub/super set on Prime minis) but the Prime was going so I had to rewrite it in C++ for Unix and Windows.

                PL/1 was the first programming language that I learned not many people even know about it.

                VS2010/Atmel Studio 6.0 ToDo Manager Extension
                Version 3.0 now available. There is no place like 127.0.0.1

                R Offline
                R Offline
                RugbyLeague
                wrote on last edited by
                #17

                I rather liked it. It was better than COBOL and FORTRAN IV which I was using previously - the only book I could find about it at the time was, weirdly, a FORTRAN to PL/1 primer - which was exactly what I needed. Prime wrote quite a bit of the Primos operating system in various PL/1 sub sets - SPL and PLP (IIRC)

                Mike HankeyM 1 Reply Last reply
                0
                • R RugbyLeague

                  I rather liked it. It was better than COBOL and FORTRAN IV which I was using previously - the only book I could find about it at the time was, weirdly, a FORTRAN to PL/1 primer - which was exactly what I needed. Prime wrote quite a bit of the Primos operating system in various PL/1 sub sets - SPL and PLP (IIRC)

                  Mike HankeyM Offline
                  Mike HankeyM Offline
                  Mike Hankey
                  wrote on last edited by
                  #18

                  I hated Cobol because it was a biz language and wordy and didn't care for Fortran because I wasn't a mathematician but the next class I had we learned Pascal and I liked the structure.

                  VS2010/Atmel Studio 6.0 ToDo Manager Extension
                  Version 3.0 now available. There is no place like 127.0.0.1

                  R 1 Reply Last reply
                  0
                  • Mike HankeyM Mike Hankey

                    I hated Cobol because it was a biz language and wordy and didn't care for Fortran because I wasn't a mathematician but the next class I had we learned Pascal and I liked the structure.

                    VS2010/Atmel Studio 6.0 ToDo Manager Extension
                    Version 3.0 now available. There is no place like 127.0.0.1

                    R Offline
                    R Offline
                    RugbyLeague
                    wrote on last edited by
                    #19

                    I didn't mind COBOL and FORTRAN at the time because it was all I knew and the languages mandated by the business. I went off piste teaching myself PL/1 and writing a new programming language in it - eventually the fulfillment department were using my language more than any of the utilities written for them in COBOL by the development department.

                    Mike HankeyM 1 Reply Last reply
                    0
                    • R RugbyLeague

                      I didn't mind COBOL and FORTRAN at the time because it was all I knew and the languages mandated by the business. I went off piste teaching myself PL/1 and writing a new programming language in it - eventually the fulfillment department were using my language more than any of the utilities written for them in COBOL by the development department.

                      Mike HankeyM Offline
                      Mike HankeyM Offline
                      Mike Hankey
                      wrote on last edited by
                      #20

                      Don't remember much about PL/1 never used it outside of the one class I had learning it.

                      RugbyLeague wrote:

                      I went off piste teaching myself PL/1 and writing a new programming language in it - eventually the fulfillment department were using my language more than any of the utilities written for them in COBOL by the development department.

                      Using what's available and improving to suit needs, there's nothing wrong with that.

                      VS2010/Atmel Studio 6.0 ToDo Manager Extension
                      Version 3.0 now available. There is no place like 127.0.0.1

                      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