473,407 Members | 2,546 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,407 software developers and data experts.

function list

Is there a provision in a gcc or another tool so print the function
names declared and defined in a .C or a set of .C files?

Sep 21 '06 #1
4 1611
In article <11**********************@m7g2000cwm.googlegroups. com>,
quarkLore <ag*************@gmail.comwrote:
>Is there a provision in a gcc or another tool so print the function
names declared and defined in a .C or a set of .C files?
The gcc part should be asked about in a gcc newsgroup.

In the other tools category, your system might happen to be
supported by cscope, http://cscope.sourceforge.net/

But .C files are usually C++ not C; if you are trying to work
with C++ then you would need different tools.
--
There are some ideas so wrong that only a very intelligent person
could believe in them. -- George Orwell
Sep 21 '06 #2
quarkLore wrote:
Is there a provision in a gcc or another tool so print the function
names declared and defined in a .C or a set of .C files?
There's other tools, that can do that. Poke around for
'cproto'
Sep 22 '06 #3
"Nils O. Selåsdal" <NO*@utel.nowrote:
quarkLore wrote:
>Is there a provision in a gcc or another tool so print the function
names declared and defined in a .C or a set of .C files?
There's other tools, that can do that. Poke around for
'cproto'
http://invisible-island.net/cproto/

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
Sep 22 '06 #4

Thomas Dickey wrote:
"Nils O. Selåsdal" <NO*@utel.nowrote:
quarkLore wrote:
Is there a provision in a gcc or another tool so print the function
names declared and defined in a .C or a set of .C files?
There's other tools, that can do that. Poke around for
'cproto'

http://invisible-island.net/cproto/

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
Thanks a lot for good links. I got a perl script to do the same, will
ask questions in relevant forum later on.

Oct 6 '06 #5

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

Similar topics

7
by: Kieran Simkin | last post by:
Hi all, I'm having some trouble with a linked list function and was wondering if anyone could shed any light on it. Basically I have a singly-linked list which stores pid numbers of a process's...
6
by: Bernhard | last post by:
Hello, I would like to build a small interpreter (in an c-program), which calls functions with user-defined arguments. To do this, I have a list of functions names (in an array), with the...
20
by: JS | last post by:
I can't seem to figure out how to send a string as a paramenter to a function. I have this structure: struct list { char thread; struct list *previous; struct list *next; };
10
by: gmtonyhoyt | last post by:
It's been mentioned to me that, in standard c, that you can have structures behave very much like classes in relation to something to do with function calls within a structure. Now, I didn't get...
4
by: shachar | last post by:
hi all. i'm looking for a simple example of how to pass optionaly, an array to a function. if the array isn't there (it's optional) i want to know about it. thanks.
0
by: windandwaves | last post by:
Hi Folk Some of you may find this function useful. It makes it easier to create maps using Google Maps. I link it to a database of points. The main use of the function is that it creates all...
1
by: Lars Eighner | last post by:
My function GetTourDescendants works, but I do not really have a recursive brain (and run from lisp like a vampire from a crucifix) and am a little wary of recursion in PHP. And besides, the...
19
by: Adam | last post by:
Hi, I'd like to return an (arbitrary length) string array from a function so that after calling the array I've got a list of strings I can access. After much perusing of the internet I found a...
2
by: king imran | last post by:
I am giving u complete code. It works properly But add max and mean functions so that it can work properly. * /LinkList.h/ * #include "Node.h" * /* The LinkList class declaration*/ class**...
25
by: hifrnds007 | last post by:
how the function poiners avoids the usage of switch cases?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.