Take the 2-minute tour ×  On the Wikipedia page for Windows, it
states the Windows is written in Assembly for the bootloader and
task switcher, and C and C++ for kernel routines.  IIRC, you can
call C++ functions from an extern "C"'d block. I can get using C
for the kernel functions so pure C apps can use them (like
printf and such), but if they can just be wrapped in an extern
"C " block, then why code in C?  share|improve this question
Have you seen the various "Why use C when there's C++?"
questions here? This isn't necessarily a duplicate of any of
them, but they are related. –  delnan Dec 10 '12 at 17:56 "you
can call C++ functions from an extern "C"'d block as C++" Do you
mean you can call C functions...? –  Code-Guru Dec 11 '12 at
4:36 @Code-Guru no, because the only difference between exported
C and C++ functions is the name decoration and in C++, the
addition of the this variable –  Cole Johnson Dec 11 '12 at 4:56
Throw an exception in an ISR and see what happens –  James Feb 6
'13 at 2:50  13 Answer