Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
It depends on the size of your program, C++ usually uses more memory. It was designed to handle very large scale programs.
If your program is 10,000 lines of code or less, then C would be a good choice.
Using C++ programming for embedded systems requires a big size of ROM and RAM memory, and if you want to use Java it requires a fast uC too. But nowadays is common to use as embedded system a device with some MB of RAM and ROM so it is possible to use this high level programming.
Anyway I have to say that OOP is not only a language, it is a design concept. It is possible to do a OO design and aply it programming estandard C with structures and function pointers.
I think that using C++ for compiled OOP characteristics may help in the development of the software, which always needs to be changed.
If you do not use polimorphism, virtual functions and runtime binding you can make a project with an object oriented filosophy that will help you in the future.
C++ does not take so much more memory and time than C if you take those restrictions.
The book Programming Embedded Systems in C and C++ by Michael Barr explains what I mentioned here.
The oop is not just only C++ or java, is the way of how you develop your proyect, how you could implement the functions, order or merge your files into different forlders,the comments have you made, the way that your organize the data. Thinking in this way didn´t matter the languaje that you could use, it would be ASM,C,PASCAL,BASIC, C++ or JAVA For me it is important found an powerfull editor, that it could show you the relationship among the funtion, datas and other usefull formation, it would help you to organize it and follow him throw the time.
I hope this help you