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
|