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

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -