> > application would actualy benefit from being coded in C++ though. > > exception handling => safety critical stuff exception handling => race condition on small micro > templates => flexible libraries (reduces development costs) flexible libraries with C++ calling conventions => huge memory and code overhead, high library porting and maintenance cost > "better C part of C++" => less coding errors worse C++ expands C => the temptation to use automatic strings on a micro with limited RAM, the temptation to use inheritance and object collection on same, the temptation to call by reference in a non-memory protected environment Also code footprint 30% to 300% of optimized C code. Other than that, you are right, the main() program is easier to write in C++. Peter P. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist