+ 2
Comments in lines
Do the slashes only make a single-line comment? What if I have several lines of comments to write? Are there any ways besides just adding two slashes at the beginning of every line?
2 Respuestas
+ 3
Oops sorry I've found the answer by myself through learning the course. It begins with /* and ends with */ at the end of the comment block.
+ 2
you can use // for a single line comment. the one with asterisk for a multi line comment.