/* comments here */
is the C style comment, it lasts for as many lines as the delimiters indicate.// C++ style comment
is the C++ style comment, it lasts up until the end of that line.Comments are used documentation and explanation purposes. Obvious beginner explanations must be skipped for real world programs. Only in educational material will you find comments being used as obvious explanations.
No comments:
Post a Comment