Languages ​​such as Python, MATLAB, E-Lisp have a great tool for doc strings. Thanks to this function, using just a few keystrokes in the terminal, you can get documentation about the functions / module that you wrote and imported into your code.
Now there is some kind of “technique” (library, editor tricks, whatever) to get a similar object in C ++ / C. Suppose that I include the documentation of the function in the source file in the function head, then I would like to type a command, for example getinfo, on the terminal. (something like a man page)
I know that such a “person” tool exists for many C functions, but the documentation for these functions is written to separate text files from the source code. I would like documentation in place
source share