How to write documentation comments in ANSI C?

bb2 picture bb2 · Jan 17, 2012 · Viewed 14.5k times · Source

I can't find how to write comments in C. I mean I know about // and /* */, what I mean is where can I find good practices? Like if I have a function, how do I write the @param variable is the value bla bla, like it is done in Java?

Are there any standards for this? Or can I just do it like I do it in Java?

Answer

Dhaivat Pandya picture Dhaivat Pandya · Jan 17, 2012

There are many different standards, if you want to generate documentation, try doxygen