I am wondering if it is possible to compile C code in a C++ program? What I am trying to do is to build a parser created from ANTLR V3 with as C being the target language. I am wondering if it is possible for me to combine ANTLR's C code with my C++ program?
I tried looking for a similar C and C++ combined code compilation thread but cannot seem to find on here -- hence this new topic.
Thanks in advanced!