Interesting, why are you want to do that?
If you like c, than just write c, please don't write c in c++
It is always a nightmare and a bad habits to write "x language" in "y language"
I saw a lot of guys like that
They like to write c in c++, c in java, c in c#, assembly in c, pascal in c and so on
This always make the code hard to read, maintain, error prone and low efficient
A C++ compiler is a C++ compiler and a C compiler is a C compiler. You can compile most C code with C++ compilers anyways, and the parts you can't you can still compile with a C compiler and link with a C++ linker(if you wrap your header in an extern"C" block).
not that I intend to do it: I'm just curious)?
I mean they never try to understand the benefits and the defects of oop
Never want to realize higher abstraction
Only treat java and c# as some kind of "c with GC"
Isn't the inline assembler useful for low level access / fine tuned optimisation?
Maybe you are right, since I didn't spend my time to decipher the code