+ 1
what's the difference between C and C++?
3 Antworten
+ 7
C is not object oriented, C++ is.
C existed first. When they came up with the idea to have objects, which is a huge concept, they created C++ as a variation of C to implement all of those new features.
Due to the nature of object oriented programming, the syntax is quite a bit different and the built in libraries are quite a bit different.
C# evolved by trying to simplify object oriented programming. Programmers needed a simpler language to replace things like Visual Basic, Pascal, etc.
C is the most efficient of them all due to being close to a bare-metal language and is often used for operating systems and device drivers, etc. C++ is potentially a better solution for applications and games.
+ 2
Thank you very much
0
Link of 64, many difference. The only thing the same is that c++ compiler can run all of c but c cannot do that for c++.
In writing, c++ and c are very different