--- In [email protected], Vic Wagner <[EMAIL PROTECTED]> wrote:
>
> imranhbr wrote:
> > Is there any library or API that could extract the defined 
function 
> > names from the particular C file.
> >
> > e.g
> >
> >
> > Test.c file defined three functions
> >
> > int firstFunction(int)
> > {
> >
> > /*some statements*/
> >
> > }
> >
> > int secondFunction(int)
> > {
> >
> > /*some statements*/
> >
> > }
> >
> >
> > int thirdFunction(int)
> > {
> >
> > /*some statements*/
> >
> > }
> >
> > /*end of file*/
> >
> >
> > what I want to get the function names: firstFunction, 
secondFunction 
> > and thirdFunction.
> >   
> If you want the name from inside the program you may want to look 
at the 
> documentation on your compiler.  Since you haven't said what you 
want to 
> DO with the names, I guess I'll leave further comment for later.
>



I wanted to develop a simple tool, which will have a browse button 
and list box. Through Browse button I will select a C source file 
and then list box will show a function names defined in this file.



Reply via email to