473,378 Members | 1,623 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

utility to parse c++ functions

Hello,

Is there a utility for unix or windows that is capable (with or without
slight modification) of creating a list of all functions within a file? I
would like to be able to eventually create a comma-delimited file of
function names.

Thank you for your time.

- dan
Jul 22 '05 #1
3 1348
"Dan Elliott" <fr***********@yahoo.com> wrote in message
news:0w***********@dfw-service2.ext.ray.com...
Hello,

Is there a utility for unix or windows that is capable (with or without
slight modification) of creating a list of all functions within a file? I
would like to be able to eventually create a comma-delimited file of
function names.


Many compilers have an option to create protoypes
for all functions (e.g. /Zg in MSVC++). You should
be able to convert that to your desired file.
Check your documentation.

-Mike
Jul 22 '05 #2
Dan Elliott wrote:
Hello,

Is there a utility for unix or windows that is capable (with or without
slight modification) of creating a list of all functions within a file? I
would like to be able to eventually create a comma-delimited file of
function names.

Thank you for your time.


ctags might be a solution. See http://ctags.sourceforge.net/
Jul 22 '05 #3

"Rolf Magnus" <ra******@t-online.de> wrote in message
news:ch*************@news.t-online.com...
Dan Elliott wrote:
Hello,

Is there a utility for unix or windows that is capable (with or without
slight modification) of creating a list of all functions within a file? I would like to be able to eventually create a comma-delimited file of
function names.

Thank you for your time.


ctags might be a solution. See http://ctags.sourceforge.net/


Thank you to everyone for your assistance. It appears that etags is the
solution!
Jul 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Bora | last post by:
I usually find that a number of unrelated classes require the same kind of operations. However, I don't want to duplicate code in multiple places. In Java, I've seen those "Utility Classes",...
12
by: Eric | last post by:
I've got a pretty large C program with global variables and function names strewn about (i.e. no "static" declarations in front of them). Now I want to expose the ability for user's to supply their...
2
by: Jim | last post by:
I work in the environmental industry and we have large gcms instruments that aquire raw data to an attached computer. These computers are networked, and have shared folders so the data can be...
7
by: Jim Strathmeyer | last post by:
So, right now I have a class that is basically utility functions; it's methods are all static because there is no class data, and I would never create an object of this class. So I call these...
4
by: Jeff User | last post by:
Hi all Developing C# web apps, .net1.1 I have gotten in habit of placing commonly used (interface) functions in my base page. However, some apps I work on use a seperate "Utility" class...
3
by: Paavo Helde | last post by:
C++ lets you declare functions in headers which are actually not defined in the source code. During a cleanup cycle for a library I would like to ensure that all free and member functions...
5
AdrianH
by: AdrianH | last post by:
Assumptions I am assuming that you know or are capable of looking up the functions I am to describe here and have some remedial understanding of C++ programming. FYI Although I have called...
1
AdrianH
by: AdrianH | last post by:
Assumptions I am assuming that you know or are capable of looking up the functions I am to describe here and have some remedial understanding of C programming. FYI Although I have called this...
6
by: Marco | last post by:
One of the things I like about C++ is that it doesn't force you to create fake "objects" in the OO sense. We had a debate at the office about the "right" way to encapsulate related utility...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.