Reputation: 11
I am trying to create an activity diagram of my code by embedding the UML syntax in code and using Doxygen with plant UML. this is my code
int add_numbers(int a, int b) {
/** @startuml*/
/** start */
return a + b;
/** @enduml*/
}
and this is my error Syntax Error
the objective is to create the documenrtation regardless of the method and have it embedded in Software not in a sebarate section.
Upvotes: 0
Views: 192