Commenting C code, header and source files

Posted by pygabriel on Stack Overflow See other posts from Stack Overflow or by pygabriel
Published on 2010-04-07T11:37:25Z Indexed on 2010/04/07 11:43 UTC
Read the original article Hit count: 372

Filed under:
|
|
|

I'm looking for a "best practice" to document my C code. Like in any project I have some header files ".h" and the respective source file ".c"

In the header file what kind of comment you put in? And in source files? The question arise up because since I commented well my header files, the c files looks like a mess.

What's your best practices in keeping the code well commented?

© Stack Overflow or respective owner

Related posts about c

    Related posts about documentation