• 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

    • There is a lot of reasons not to use Edge but faster fixes and security updates is not one of them.
    • Can't reproduce. I installed Edge, went to neowin.net > accepted the cookie consent > used menu to go to forums, everything loads and I can browse around the forums. If you can't interact with the dialog on the forums for some reason, go to the main site and accept the cookie consent there? It is true that the site will not function properly until the cookie consent is accepted or rejected,. it's a legal requirement and I also know that certain VPN/ad blockers block it, which is a user related issue and not a neowin.net problem.   This is not our cookie consent dialog. Gotta love browser hijacking... /s Edit: this may be what Californians see, I will confirm with our consent provider.
    • Google Chrome 149.0.7827.115 (offline installer) by Razvan Serea The web browser is arguably the most important piece of software on your computer. You spend much of your time online inside a browser: when you search, chat, email, shop, bank, read the news, and watch videos online, you often do all this using a browser. Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier. Use one box for everything--type in the address bar and get suggestions for both search and Web pages. Thumbnails of your top sites let you access your favorite pages instantly with lightning speed from any new tab. Desktop shortcuts allow you to launch your favorite Web apps straight from your desktop. Chrome has many useful features built in, including automatic full-page translation and access to thousands of apps, extensions, and themes from the Chrome Web Store. Google Chrome is one of the best solutions for Internet browsing giving you high level of security, speed and great features. Important to know! The offline installer links do not include the automatic update feature. Download web installer: Google Chrome Web 32-bit | Google Chrome 64-bit | Freeware Download: Google Chrome Offline Installer 64-bit | Direct Link | 131.0 MB Download: Google Chrome Offline Installer 32-bit | Direct Link | 119.0 MB Download page: Google Chrome Portable Download: Chrome ARM64 | Direct Link View: Chrome Website | Release Notes Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Oh, it's happening on more than one dialog? This is the dialog that I'm unable to interact with.
    • WSCC - Windows System Control Center 10.0.3.8 by Razvan Serea Windows System Control Center is a free, portable program that allows you to install, update, execute and organize the utilities from various system utility suites. WSCC can install and update the supported utilities automatically. Alternatively, WSCC can use the http protocol to download and run the programs. WSCC is portable, installation is not required. Extract the content of the downloaded zip archive to any directory on your computer. Free for personal use. The setup packages and updates are downloaded directly from their author's website! This edition of WSCC supports the following utility suites: Windows Sysinternals Suite (including support for "Sysinternals Live" service) NirSoft Utilities Mitec and more... WSCC - Windows System Control Center 10.0.3.8 changelog: [NEW] update progress is now visible on the Windows taskbar [FIXED] fixed an issue with the Update dialog [FIXED] minor fixes Download: WSCC (64-bit) | 5.4 MB (Free for personal use) Download: WSCC (32-bit) | 6.3 MB View: WSCC Homepage | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Month Later
      Clizby earned a badge
      One Month Later
    • One Month Later
      Timaximus earned a badge
      One Month Later
    • Week One Done
      Timaximus earned a badge
      Week One Done
    • Rookie
      FBSPL went up a rank
      Rookie
    • First Post
      davidbazooked earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      492
    2. 2
      PsYcHoKiLLa
      170
    3. 3
      +Edouard
      164
    4. 4
      Steven P.
      85
    5. 5
      ATLien_0
      77
  • Tell a friend

    Love Neowin? Tell a friend!