C++ Comments
What are comments
Comments are used to help the readers of your program understand what the program does. You should always have comments to begin your program (these are called "header comments"), so the first thing the reader sees is a explanation of what the prgram should be doing. Then you should have some brief comments throughout your program to help the reader understand the different parts of your program.
By the way, comments are not something the computer uses; that is, the computer ignores them (throws them away during compilation).
Types of comments
// this is a comment
/* this is a comment that continues until the matching
symbols appear, that is an '*' followed by a '/', like
this */