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

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

                                  D Offline
                                  D Offline
                                  destynova
                                  wrote on last edited by
                                  #31

                                  I started with C64 Basic (which is REALLY bad, so I wouldn't recommend it to any time travellers who get stuck with a C64), then GFA Basic (a structured Basic on the Atari ST - absolutely brilliant language), then assembly, C, Java and C++ later and now I'm learning Eiffel. I always felt C++ was a powerful and well-standardised language which is mostly quite portable, but I really wouldn't recommend starting off with it. About C#, I don't know much about it, but I think it's garbage collected (is this what they mean by 'managed'?) which is IMO a good thing in general - it's one reason I've taken a liking to Eiffel. So I'd recommend a powerful but syntactically simple language to start with before you get deep into heavy OO languages or anything where you have to constantly mess about with pointers and memory management. Since GFA Basic gave me my first real taste for coding, I'd suggest AutoIt v3 (http://www.autoitscript.com/autoit3/), a free structured basic-like programming language mostly aimed towards Windows automation, but useful in general.

                                  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.

                                    M Offline
                                    M Offline
                                    Machaira
                                    wrote on last edited by
                                    #32

                                    "correct choise" depends on what you want to do. If you want to be a game developer, C++ is the most used language. If you want to write business-type applications, I would stay away from C++ and go with a .NET language like C#.

                                    1 Reply Last reply
                                    0
                                    • S ScottM1

                                      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 Offline
                                      M Offline
                                      MrOzark
                                      wrote on last edited by
                                      #33

                                      I've come from GWBASIC in 1985 to Xbase languages then VB now C#. Pointers (a kind of dog, right?) and the 'stack' - as in she is really 'stacked' are neo to me-oh. I still am a bit verbose with my 'ifs' for clarity such as: if(SeePlusPlus == true) { strProgrammerLevel = "GirlyMan"; //lunchbox notwithstanding } Where this: if(SeePlusPlus) strProgrammerLevel = "GirlyMan"; //lunchbox notwithstanding would suffice. The next stop on the 'dilletante express'? Looks like IronRuby. If you understand that the spice must flow, you may notice that the sleeper is still a bit groggy....

                                      1 Reply Last reply
                                      0
                                      • N New5

                                        I wanted to write New but it seems some people used of them so I select New5.

                                        M Offline
                                        M Offline
                                        Mark_Wallace
                                        wrote on last edited by
                                        #34

                                        You should have gone alphabetic: news & newt are passable; newz is a good hakka name; newc, newx, newq, and newk will do nicely for US republicans; newd is suitable for another "Mark Wallace", whose movie career I'd rather not follow; newl would show your carpentry skills; and newb fits about 99% of behaviour on the net.

                                        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
                                          ClockMeister
                                          wrote on last edited by
                                          #35

                                          It really depends on what you want to do with it. I started with FORTRAN and then BASIC (because I got into this back in the late '70's even before PC's existed). There are many more choices now than there were then. Most of the guys here are probably writing C# or Java (it's somewhat debateable that they are really any different, IMHO). I chose the VB path instead of C# because I wrote assembly and C for many years and when I got into Windows development I chose VB as my point-of-entry. (I got tired of re-inventing the wheel all the time). If I were starting out brand new right now? Probably C# or VB.Net. There rages a debate which of the two languages is "better" - but they both produce the same CIL so we'll leave that to another discussion. The majority would probably say C# - but don't go with the "majority" - look at both of them; or even something else. When you do choose one, though, try to stick with it as much as possible. Being "multilingual" may sound cool - but being an expert with one or two of them will probably get you further. You'll be more inclined to focus on the application instead of fiddling with the tools. Just my 2-cents. -CB :)

                                          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