Is there a way to compile C++ to C Code? -


i have program configured user using c++ classes , same class should used configure program can use subset of c99 (open cl language).

so question is: there way compile c++ c-code?

open source great!

the c++ faq has list of possibilities: is possible convert c++ c?.

in short, says can't expect give particularly readable code. think of complexities involved; multiple inheritance, virtual-function resolution, templates, operator overloading, etc., etc. there's no clean succinct way of expressing these concepts in pure c. if you're after compilable c, though, way go.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -