motor code error

Also are you saying that the stars and slashes are for multiplying and dividing?

That's one use. The other, when they are use together is to start and end comments. Out of context, as your question was, the answers can go either way (or a host of other ways, for that matter). The point of my rather silly reply, was to get you to provide that context.

I meant the little descriptions next to the code.

int var = value; // Like this?

No, the comments (that's what they are) are not required. Often, they simply state the obvious. But, to a newcomer they explain what the code does. Of course, what is obvious to me and what is obvious to you are miles apart. So, you should provide them in code you share, so that we can see that your understanding of the code is correct.