0
Difference between C and C++
What is the difference between language C for programming micro controllers and language C++.
2 Respuestas
+ 2
The answer is diificult, it depends of your knowledge and experience with C++ programming. into deep. Because C++ allows programming with object libraries (described in course here), but too with older non-object libraries like in C.. So, if you have learned for now only the first approach, the difference between C++ and C will be a huge for you. Only one example, Here in course C++ is described for work with strings a data type "string" with very friendly object approach . But C (or older non-object aproach in C++) uses only char * or char[] types with a very differency approach . So you have to catch up. Yeah, and there are some pure differences between C/C++ -> something what works only on C but not on C++compilers. So you shall find it im some papers in internet. Or every better IDE for programming C++ enable compile your code as the C code and shows C errors. It would be better to get expereinces in C this way, then in that micro controllers compiler, it is usually very unfriendly..
0
thanks for your answer. very useful.