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++?
Asked
Active
Viewed 1,375 times
-7
-
2Already answered in detail over here: http://stackoverflow.com/q/497786/102937 – Robert Harvey Jun 17 '16 at 23:35
-
1Also [here](http://programmers.stackexchange.com/questions/128995/c-vs-c-for-a-java-and-possibly-python-programmer/129008#comment634466_129008). My comment there has a link to an external post that may be helpful as well. – Wildcard Jun 17 '16 at 23:37
-
2This 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. – David Hammen Jun 18 '16 at 14:00
-
[Yet another answer](http://programmers.stackexchange.com/questions/113295/when-to-use-c-over-c-and-c-over-c/160834#160834). – John Bode Jun 21 '16 at 19:17
1 Answers
5
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.

amine.ahd
- 167
- 2