Extracting Comments using doxygen

"Seema Kadavan" <[email protected]>
Newsgroups gmane.text.doxygen.devel,gmane.text.doxygen.general
Message-ID <[email protected]>
Hi

 I would like to know whether Doxygen can be used to extract comments from a
C/C++ code?

 For example , consider the file Abc.c

Abc.c

# include <stdio.h>

/*
        Func           : Sum()
        Arg             : int x, int y
        Return Type : int
        Desc           : Function which returns the sum of values passed
*/

int Sum(int x, int y)
{
        return x + y;
}

/*
        Func            : main()
        Arg              : None
        Return Type :  void
        Desc           : Main Function
*/

main()
{
        int sum;
        sum =   Sum();
        printf("Sum : %d\n, sum");
}


My question is whether I can get the output as given below

/*
        Func           : Sum()
        Arg             : int x, int y
        Return Type : int
        Desc           : Function which returns the sum of values passed
*/

/*
        Func            : main()
        Arg              : None
        Return Type :  void
        Desc           : Main Function
*/

Making myself more clear, can I get the commented lines as output if I give
a C/C++ code as input ?
Thanks in advance.


Regards,
Seema Kadavan

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Doxygen-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-develop
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.