Why code in C? Isn't C++ basically C but with better features? Why do people still use C? Would it be easier to make a game with C or C++?

  • 2
    Already answered in detail over here: stackoverflow.com/q/497786/102937 Jun 17 '16 at 23:35
  • 1
    Also here. My comment there has a link to an external post that may be helpful as well.
    – Wildcard
    Jun 17 '16 at 23:37
  • 2
    This question is primarily opinion-based and opinions vary widely. For example, Linus Torvalds has a rather strong opinion one way while Bjarne Stroustrup has a rather strong opinion the other way. Jun 18 '16 at 14:00
  • Yet another answer.
    – John Bode
    Jun 21 '16 at 19:17

C is used basically in embedded systems where using C++ is most of the time overkill and sometimes not possible. C++ is better suited for desktop applications and video games development. Most desktop apps are written in C++ (Chrome, Mozilla etc...) and the Windows OS is written in C++. For video games it is much better to use C++ since the OOP aspect of the language makes it easy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.