•Doc++ legge i sorgenti e produce una documentazione in
html o in TeX.
•Il meccanismo di base e’ scrivere i commenti nel codice
con una particolare sintassi (“/**” o “///”).
Ad es.
•
•/** Glut Callback on release of arrow keys.
•It
should stop the thrust and the rotation of the ship.
•*/
•void
SpecialKeyUp(int key, int x, int y){
•...
•}
•La prima riga diventa il sommario del commento mentre il
resto del commento diventa la descrizione
dettagliata
•
•