How do I extract a list of function prototypes from C++ code?
X Y
achaios_1 at yahoo.com
Thu Mar 11 11:07:58 MST 2010
I assume that by "every function prototype" you mean that you want to have
a list of all functions of every class. If my assumption is correct I can help you.
I do not know Perl or similar stuff, the best way to do such a job is to use C.
It will take more than a couple of hours and I am not interested in money.
You should separate your code in files, so that every file contains only one class,
if your code is not already this way. I will need one such file (with one class)
representative of the way the code was written, not every programmer knows
how to write professional code.
Do you have an at least basic ability to write C code!? a basic knowledge of C
will help you.
Regards!
--- On Thu, 3/11/10, kitepilot at kitepilot.com <kitepilot at kitepilot.com> wrote:
From: kitepilot at kitepilot.com <kitepilot at kitepilot.com>
Subject: How do I extract a list of function prototypes from C++ code?
To: "Main PLUG discussion list" <plug-discuss at lists.plug.phoenix.az.us>
Date: Thursday, March 11, 2010, 8:02 AM
Hello there...
I have this extensive C++ code base from which I want to know every function
prototype.
Yes, I can write a script to get them, but from experience *I KNOW* that it
will take me longer than I anticipate and more effort than I want to commit
to writing such a script.
I am using the IBM XL C/C++ compiler (2007), which doesn't seem to have an
option to produce for me such a listing.
Does anybody know of something out there to accomplish this?
Thanks!
Enrique
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20100311/56eff908/attachment.htm
More information about the PLUG-discuss
mailing list