• 0

c plus plus


Question

5 answers to this question

Recommended Posts

  • 0

C++ isn't all that hard conceptually...It is just like C as far as syntax goes, and if you have OO experience in other OO languages (BTW: don't count VB6 and earlier as other OO langs) then it should be easy enough.

If you don't know any programming, C++ is probably the best language to start with. It teaches you all the basics in a very unrestricted format. And because it is low level, you actually learn things about programming that are very important, even if you never deal with them directly. For example, one always hears that java and C# can do automatic garbage collection. But I find that having learned about garbage collection in C++ helps me a lot in designing Java apps, even though technically I do not have to think about. If you start with Java or C#, chances are you will miss out on a lot of the behind the scenes details, and it is those details that will make you a really good programmer.

My big problem with C++ is that it is really hard to get good at it. In my younger days I was determined to get really good at it. But then along came Java, and it was love at first sight. I have not touched C++ since 1995. But here is what I remember I did not like about it:

For one, overloaded operators are a bizarre concept. Some of the more esoteric bugs I wrote throughout my career came from overloading operators. Two, inheritance is hard enough to deal with on the single case - multiple inheritance just opens up the space that much more and makes the design decisions one has to make far harder to deal with. Three: memory management is hard - though IMO C++ MM is actually easier conceptually than MM in C; for some reason writing destructors gives me a good framework for freeing memory and collecting garbage. It is just too easy to forget to cleanup all the memory you allocate in C without that framework. And FOUR: the plethora of different libraries out there is just overwhelming. It takes time to learn how to use libraries effectively, and then you change jobs and chances are the new dev team uses a completely different set. I suppose that in time they all look the same, but that to me was one of the biggest turn offs.

Don't know much about game programming, but I hear that DirectX is actually pleasant to work with. A friend of mine uses it and loves it. He said it runs laps over OpenGL. Hopefully you will be using some of that in your class. Good Luck!

Link to comment
https://www.neowin.net/forum/topic/76556-c-plus-plus/#findComment-825153
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • You are clueless. The updates are done in the background so the next time you open Edge the updates are applied automatically. There is no need to close all your tabs. Just keep browsing like you normally do. Clearly you don't use Edge and are just one of those haters that complain for the sake of complaining.
    • I don't get this David. Can you explain it please.  
    • Microsoft is busy. Lots of changes to be released imminently for Windows server or soon. Also, lots happening for next version as well. Third party virus scanning software is being moved out of Kernel mode to avoid repeat of Crowdstrike incident. Windows Protected Mode and Windows Ready Print no longer require third party print drivers to be installed. New storage stack being developed. New NVME drivers now available for Windows Server 2025 to improve local NVME drive performance by 60+ percent. NVME-Of of fabric being worked on for next release to improve network access to NVME drives. ReFs (next file system) now has ability to boot and will become default file system in next release of Windows Server. ReFs improves on NTFS in several areas including resiliency and reliability and scalability. New update stack is being worked on to unify Windows updates, and updates for drivers and first party/3rd party application software. A stricter and more robust third-party driver certification program (ODI) is being worked on to improve performance, thermals, battery life, and reliability on modern Windows hardware by tightening how OEMs and IHVs (Intel, AMD, Qualcomm, NVIDIA, etc.) build and ship drivers. There is a tone more but too numerous to mention.
    • Now disable that stupid OneDrive backup request when Windows starts please. So unbelievably frustrating to only have “remind me later” instead of “no and never ask me again”
    • Hello, The Media Creation Tool is still at v10.0.26100.7019 from October 2025. Just looks like the backend has been updated. Regards, Aryeh Goretsky
  • Recent Achievements

    • One Month Later
      Markus94287 earned a badge
      One Month Later
    • Week One Done
      Markus94287 earned a badge
      Week One Done
    • One Year In
      Markus94287 earned a badge
      One Year In
    • Dedicated
      truespursfan earned a badge
      Dedicated
    • Rookie
      restore went up a rank
      Rookie
  • Popular Contributors

    1. 1
      +primortal
      506
    2. 2
      +Edouard
      168
    3. 3
      PsYcHoKiLLa
      154
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      79
  • Tell a friend

    Love Neowin? Tell a friend!