Search code examples
cdocumentationcode-documentation

How to write documentation comments in ANSI C?


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?


Solution

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