Converting C++ to C
Mehmet Erol Sanliturk
m.e.sanliturk at gmail.com
Fri Feb 24 12:51:44 UTC 2012
On Fri, Feb 24, 2012 at 4:37 AM, <perryh at pluto.rain.com> wrote:
> Some early implementations of C++ operated as preprocessors
> that emitted C code. Is there any current tool that will do
> that? I didn't recognize any such option in the g++ manpage,
> although I suppose it's possible that one of the -fdump-tree-
> options would come close enough.
>
> Reason: I want to make what I think would be a fairly minor
> change to a small (1100-line) C++ program, but I don't know C++
> -- only C -- and I don't understand the program well enough
> to mess with it. I suspect I would be able to figure out an
> equivalent C program.
>
> In case it matters, I'm using FreeBSD 8.1.
>
http://www.comeaucomputing.com/
http://www.comeaucomputing.com/tryitout/
http://www.comeaucomputing.com/faqs/genfaq.html#ccompiler
http://stackoverflow.com/questions/737257/code-convert-from-c-to-c
Thank you very much .
Mehmet Erol Sanliturk
More information about the freebsd-questions
mailing list