Trending News
does c++ can work with embedded systems and whats is the difference bettween c & c++?
3 Answers
- Anonymous1 decade agoFavorite Answer
Yes C++ can work with embedded systems.... C++ is just a programming language. If you can have a compiler for that particular embedded system, you can use C++ with it.
C is an iterative programming language. C++ is an object oriented programming language that expands upon C.
- Shadow WolfLv 61 decade ago
C++ is a superset of C. Basically, C++ is a more modern object oriented version of C. So the differences can be nothing, if you don't use the C++ features, to quite a bit different if you use all the C++ features.
As far as embedded systems, if you can find a C++ compiler for the embedded system, then you can use C++. The alternative would be writing your own C++ compiler for the system. The same holds true for C since you'd need a compiler for that as well.
For embedded systems, the programming language that you ultimately use will not matter unless there is something critical that might require a specific programming language or perhaps a feature of a specific programming language. C is popular because it was designed with this kind of task in mind.
Shadow Wolf
- mdigitaleLv 71 decade ago
I use C++ with embedded systems all the time.
C is a simple procedural language. C++ takes the C language and adds features like polymorphism, classes, inheritance, etc. that make it an object oriented language.