I am adding comments to a c++ program.
Let’s say we have something like this:
string House:: getName(int &size){
return name;
}
In Java when you write comments above next to asterisks you name them like this:
/*
* @param size It passes the number of rooms.
@return name. It returns name of the house
*/
What is the format of doing this in c++?
If you are using Visual Studio, here is the spec for comment documentation.