Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Feb 2012 07:51:43 -0500
From:      Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com>
To:        perryh@pluto.rain.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Converting C++ to C
Message-ID:  <CAOgwaMtrcDS2heyJKAXG=evkuKCmi5OK9%2BTxZuPnX9mnV=-o9g@mail.gmail.com>
In-Reply-To: <4f47bcc2.i0iNgy94hupdyGb5%perryh@pluto.rain.com>
References:  <4f47bcc2.i0iNgy94hupdyGb5%perryh@pluto.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 24, 2012 at 4:37 AM, <perryh@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOgwaMtrcDS2heyJKAXG=evkuKCmi5OK9%2BTxZuPnX9mnV=-o9g>